You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> There are currently no reviewers for the translations available.
10
8
> If you have a suggestion to improve the translations, you may still open an issue for future reference.
11
9
> However, it likely won't be acted upon for the time being.
12
10
13
11
## Development
14
12
15
-
### Running the app locally
13
+
### Building the web locally
16
14
17
-
1. Install `cargo watch` by running `cargo install cargo-watch` in your terminal.
15
+
Execute `cargo run`. The web will be compiled into the `build` directory, from which you can serve it using a web server of your choice. For example, with Python it could be:
18
16
19
-
2. To build the app and run the server, run `cargo watch -x run` in your terminal.
17
+
```console
18
+
$ cargo run
19
+
$ python3 -m http.server -d build
20
+
```
20
21
21
-
3. Navigate to http://localhost:7878 in your browser. If you make any updates to
22
-
the styles, or any other project files, `cargo watch` will automatically
23
-
restart the server for you, all you have to do is refresh your browser to see
24
-
your changes.
22
+
You can use `cargo watch -x run` to automatically rebuild the web once you make changes to it.
25
23
26
24
### Where to edit
27
25
28
-
- If you would like to edit styles, you should edit [`src/styles/app.scss`](src/styles/app.scss).
29
-
- If you would like to update group data, you should edit the `yml` files in [`src/data/`](src/data/).
26
+
- If you would like to edit styles, you should edit [`src/styles/app.scss`](src/styles/app.scss).
30
27
- If you would like to edit page content, you should edit the `hbs` files in [`templates`](templates).
31
28
32
29
### Contributing
@@ -35,7 +32,6 @@ Please read our [`CONTRIBUTING.md`](CONTRIBUTING.md) before submitting a PR!
35
32
36
33
### Deployment
37
34
38
-
www.rust-lang.org is currently hosted on Heroku. The `master` branch is
39
-
automatically deployed to [www-staging.rust-lang.org](https://www-staging.rust-lang.org)
40
-
and the `deploy` branch is a snapshot of `master` that is manually updated and
41
-
automatically deployed to www.rust-lang.org .
35
+
www.rust-lang.org is currently hosted on GitHub Pages. The `master` branch is
36
+
automatically deployed to [www.rust-lang.org](https://www.rust-lang.org) after
0 commit comments