Skip to content

the home of the new rust website - now in beta!

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

jeffesquivels/beta.rust-lang.org

 
 

Repository files navigation

new-rust-www

the home of the new rust website

Build Status

Development

Running the app locally

  1. This is a Rocket app, which means we use the nightly channel of Rust. You can install it using rustup by running rustup default nightly. The Rust nightly that we deploy with is listed in the RustConfig file. If the latest nightly is not working for you, you should use the nightly version in that file.
  2. Install cargo watch by running cargo install cargo-watch in your terminal.
  3. To build the app and run the server, run cargo watch -x run in your terminal.
  4. 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.

Where to edit

  • 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 in src/data/.
  • If you would like to edit page content, you should edit the hbs files in templates.

Contributing

Please read our CONTRIBUTING.md before submitting a PR!

About

the home of the new rust website - now in beta!

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 79.3%
  • CSS 14.2%
  • Rust 6.5%