-
Notifications
You must be signed in to change notification settings - Fork 5
Release Instructions
Henry Zimmerman edited this page Jun 4, 2018
·
1 revision
- Navigate to
/backend
. - Run
ROCKET_ENV=production cargo build --release --no-default-features&
- Navigate to
/backend/target/release
- Run
sudo setcap CAP_NET_BIND_SERVICE=+eip weekend_at_joes_4_backend
. This allows you to set the port to 80. - Navigate back to
/backend
. - Run
ROCKET_ENV=production cargo run --release --no-default-features&
- Navigate to
/frontend
. - Run
cargo web build --release
- Run
vim /target/wasm32-unknown-unknown/release/app.js
and edit one of the last lines to point to/app.wasm
.