lemmy/install.sh

17 lines
333 B
Bash
Raw Normal View History

2019-04-26 17:49:14 +02:00
#!/bin/sh
set -e
2020-01-26 20:44:00 -05:00
export LEMMY_DATABASE_URL=postgres://lemmy:password@localhost:5432/lemmy
2019-05-02 09:55:29 -07:00
export JWT_SECRET=changeme
export HOSTNAME=rrr
2019-04-26 09:15:17 -07:00
2019-04-06 15:49:51 -07:00
cd ui
yarn
yarn build
cd ../server
cargo run
# For live coding, where both the front and back end, automagically reload on any save, do:
# cd ui && yarn start
# cd server && cargo watch -x run