mirror of
https://github.com/LemmyNet/lemmy
synced 2024-10-30 15:21:20 +00:00
17 lines
313 B
Bash
Executable File
Vendored
17 lines
313 B
Bash
Executable File
Vendored
#!/bin/sh
|
|
set -e
|
|
|
|
export DATABASE_URL=postgres://rrr:rrr@localhost/rrr
|
|
export JWT_SECRET=changeme
|
|
export HOSTNAME=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
|