lemmy/install.sh
2019-04-26 09:15:17 -07:00

15 lines
266 B
Bash
Executable file

#!/bin/sh
set -e
export DATABASE_URL=postgres://rrr:rrr@localhost/rrr
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