sepia-search-motore-di-rice.../README.md

619 B

Application behind search.joinpeertube.org

Dev

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

Initialize the database:

$ sudo -u postgres createuser -P peertube
$ sudo -u postgres createdb -O peertube peertube_search_index

Then run simultaneously (for example with 2 terminals):

$ tsc -w
$ node dist/server

Then open http://localhost:3234.

Production

In the root of the cloned repo:

$ git submodule update --init --recursive
$ yarn install --pure-lockfile
$ npm run build
$ node dist/server.js