-
Notifications
You must be signed in to change notification settings - Fork 5
Initial setup
Henry Zimmerman edited this page Jun 2, 2018
·
6 revisions
- Run
cargo install cargo-watch
.
- Clone Repo
- Run
nix-shell
. - Run
cargo install diesel_cli --no-default-features --features "postgres"
. The build is known to work on rust toolchain:rustup default nightly-2018-05-05
. - Navigate to the
/backend/
directory. - Run
diesel setup
. - Run
diesel migration run
. - From either
/backend/
or/
runcargo build --release
to build in release mode.
- The repo should be cloned.
- Run
cargo install cargo-web
. - Run
rustup target add wasm32-unknown-unknown
. - Navigate to
/frontend/app/
and runcargo web build
to build in release mode.