the home of the new rust website
- This is a Rocket app, which means we use the
nightly
channel of Rust. You can install it usingrustup
by runningrustup default nightly
. The Rustnightly
that we deploy with is listed in theRustConfig
file. If the latestnightly
is not working for you, you should use thenightly
version in that file. - Install
cargo watch
by runningcargo install cargo-watch
in your terminal. - To build the app and run the server, run
cargo watch -x run
in your terminal. - Navigate to http://localhost:7878 in your browser. If you make any updates to the styles, or any other project files,
cargo watch
will automatically restart the server for you, all you have to do is refresh your browser to see your changes.
- If you would like to edit styles, you should edit
src/styles/app.scss
. - If you would like to update group data, you should edit the
yml
files insrc/data/
. - If you would like to edit page content, you should edit the
hbs
files intemplates
.
Please read our CONTRIBUTING.md
before submitting a PR!