Coder Social home page Coder Social logo

raader / www.rust-lang.org Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rust-lang/www.rust-lang.org

0.0 0.0 0.0 19.29 MB

The home of the Rust website

Home Page: https://www.rust-lang.org

License: Apache License 2.0

Shell 0.05% JavaScript 0.59% Rust 4.23% CSS 0.10% Handlebars 10.13% Dockerfile 0.14% SCSS 1.24% Fluent 83.49% Procfile 0.01%

www.rust-lang.org's Introduction

the home of the rust website

CI

Development

Running the app locally

  1. This is a Rocket app, which means we use the nightly channel of Rust. We use a specific nightly version to ensure consistent builds locally and on the server, and the version is defined in the rust-toolchain file. rustup will automatically download that nightly for you when you run a cargo command.

  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!

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 .

www.rust-lang.org's People

Contributors

adamsky avatar ariasuni avatar ashleygwilliams avatar aturon avatar bltavares avatar camelid avatar carols10cents avatar chriskrycho avatar danue1 avatar dependabot-preview[bot] avatar dzhibas avatar eignnx avatar funkill avatar jamesmunns avatar johntitor avatar jrvidal avatar julienfitz avatar killercup avatar manishearth avatar mark-simulacrum avatar nrc avatar oyavri avatar pietroalbini avatar renyuneyun avatar sendilkumarn avatar skade avatar spk avatar upsuper avatar xampprocky avatar yoshuawuyts avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.