1
0
mirror of https://framagit.org/framasoft/peertube/search-index/ synced 2024-12-13 09:36:17 +01:00
sepia-search-motore-di-rice.../README.md
2020-09-02 10:20:39 +02:00

721 B

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