This repository has been archived on 2020-04-21. You can view files and clone it, but cannot push or open issues or pull requests.
lemmy/install.sh

17 lines
327 B
Bash
Raw Permalink Normal View History

2019-04-26 15:49:14 +00:00
#!/bin/sh
set -e
export DATABASE_URL=postgres://lemmy:password@localhost:5432/lemmy
2019-05-02 16:55:29 +00:00
export JWT_SECRET=changeme
export HOSTNAME=rrr
2019-04-26 16:15:17 +00:00
2019-04-06 22:49:51 +00: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