mirror of
https://github.com/LemmyNet/lemmy
synced 2024-11-05 06:00:31 +00:00
15 lines
266 B
Bash
Executable File
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
|