lemmy/install.sh

15 lines
266 B
Bash
Raw Normal View History

2019-04-26 09:49:14 -06:00
#!/bin/sh
set -e
2019-04-26 10:15:17 -06:00
export DATABASE_URL=postgres://rrr:rrr@localhost/rrr
2019-04-06 16:49:51 -06: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