1
0
mirror of https://framagit.org/framasoft/peertube/search-index/ synced 2025-01-10 00:23:37 +01:00
Motore di ricerca video globale per istanze Peertube. Cercando una parola chiave, il servizio restituisce tutti i video dalle istanze peertube federate. E' possibile applicare un ordinare per data, durata o per lingua https://sepiasearch.peertube.uno
Go to file
2021-06-24 16:01:24 +02:00
client Fix brazilian 2021-06-14 15:21:40 +02:00
config Handle playlist search in server 2021-06-24 16:01:24 +02:00
PeerTube@6b4359476c Handle playlist search in server 2021-06-24 16:01:24 +02:00
server Handle playlist search in server 2021-06-24 16:01:24 +02:00
shared
support
themes/framasoft
.eslintrc.json
.gitignore
.gitmodules
LICENSE
package.json
README.md Support sv locale 2020-12-14 08:56:02 +01:00
server.ts Handle playlist search in server 2021-06-24 16:01:24 +02:00
tsconfig.json
yarn.lock

Application behind search.joinpeertube.org

Dev

$ git submodule update --init --recursive
$ yarn install --pure-lockfile

The database (Elastic Search) is automatically created by PeerTube at startup.

Run simultaneously (for example with 3 terminals):

$ tsc -w
$ node dist/server
$ cd client && npm run serve

Then open http://localhost:8080.

Production

Install dependencies:

  • NodeJS (v12)
  • Elastic Search

In the root of the cloned repo:

$ git submodule update --init --recursive
$ yarn install --pure-lockfile
$ npm run build
$ cp config/default.yaml config/production.yaml
$ vim config/production.yaml
$ node dist/server.js

Add locale

Add the locale in client/src/main.ts and client/Makefile. Then update translations.