-
Notifications
You must be signed in to change notification settings - Fork 5
Release procedure
Henry Zimmerman edited this page Jun 5, 2018
·
1 revision
In order to bind to port 80 or 443 the following command must be ran:
sudo setcap CAP_NET_BIND_SERVICE=+eip /target/release/weekend_at_joes_backend
Backend:
ROCKET_ENV=production cargo run --release --no-default-features --features="production"
Frontend:
cargo web build --release --no-default-features
Then you need to edit the app.js
file to add a leading /
to the instance of app.wasm
near the bottom of the file.