lemmy/install.sh

17 lines
313 B
Bash
Raw Normal View History

2019-04-26 11:49:14 -04:00
#!/bin/sh
set -e
2019-04-26 12:15:17 -04:00
export DATABASE_URL=postgres://rrr:rrr@localhost/rrr
2019-05-02 12:55:29 -04:00
export JWT_SECRET=changeme
export HOSTNAME=rrr
2019-04-26 12:15:17 -04:00
2019-04-06 18:49:51 -04: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