2019-04-26 09:49:14 -06:00
|
|
|
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
|
2019-12-09 01:24:53 -07:00
|
|
|
export DATABASE_URL=postgres://lemmy:password@localhost:5432/lemmy
|
2019-05-02 10:55:29 -06:00
|
|
|
export JWT_SECRET=changeme
|
|
|
|
export HOSTNAME=rrr
|
2019-04-26 10:15:17 -06:00
|
|
|
|
2019-04-06 16:49:51 -06:00
|
|
|
cd ui
|
|
|
|
yarn
|
|
|
|
yarn build
|
|
|
|
cd ../server
|
|
|
|
cargo run
|
2019-04-18 10:23:19 -06:00
|
|
|
|
|
|
|
# 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
|