Skip to content

luidnel-maignan/www.rust-lang.org

 
 

Repository files navigation

the home of the rust website

CI

Note

There are currently no reviewers for the translations available. If you have a suggestion to improve the translations, you may still open an issue for future reference. However, it likely won't be acted upon for the time being.

Development

Running the app locally

  1. Install cargo watch by running cargo install cargo-watch in your terminal.

  2. To build the app and run the server, run cargo watch -x run in your terminal.

  3. 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!

Deployment

www.rust-lang.org is currently hosted on Heroku. The master branch is automatically deployed to www-staging.rust-lang.org and the deploy branch is a snapshot of master that is manually updated and automatically deployed to www.rust-lang.org .

About

The home of the Rust website

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

  • Fluent 83.0%
  • Handlebars 10.2%
  • Rust 4.6%
  • SCSS 1.3%
  • JavaScript 0.6%
  • CSS 0.2%
  • Other 0.1%