torrents.csv/scripts/webserver.sh

19 lines
406 B
Bash
Raw Normal View History

# Optionally use environment variables
# export TORRENTS_CSV_ENDPOINT=http://0.0.0.0:8080
2018-12-03 05:19:03 +00:00
# export TORRENTS_CSV_FILE=`pwd`/../../torrents.db
# export TORRENTS_CSV_DB_FILE=`pwd`/../../torrents.db
# export TORRENTS_CSV_FRONT_END_DIR=`pwd`/../ui/dist
# Build the sqlite db from the CSV
2019-02-12 22:06:14 +00:00
./build_sqlite.sh
# Build front end
cd ../server/ui
2018-10-11 23:21:41 +00:00
yarn
yarn build
# Build back end
2018-10-11 21:59:30 +00:00
cd ../service
cargo run --release