2018-05-22 23:15:08 +02:00
# Actix Website
## Getting Started
2023-03-13 18:19:19 +01:00
Building the website depends on [Docusaurus][docusaurus], you must have `npm` or `yarn` installed. You can run the site locally with:
2018-05-22 23:15:08 +02:00
```sh
2019-03-23 20:14:24 +01:00
git clone https://github.com/actix/actix-website.git
2018-10-26 15:10:30 +02:00
cd actix-website
2022-07-16 11:59:20 +02:00
npm install # or yarn install
npm start # or yarn start
2018-01-10 02:08:38 +01:00
```
2018-05-22 23:15:08 +02:00
2022-07-16 11:59:20 +02:00
Then visit http://localhost:3000.
2018-05-22 23:15:08 +02:00
2020-01-28 12:36:35 +01:00
## Updating diagrams
2023-03-13 18:19:19 +01:00
Diagrams are located under [/static/img/diagrams/ ](https://github.com/actix/actix-website/tree/master/static/img/diagrams ) and built with [Mermaid CLI][mermaid_cli].
2020-01-28 12:36:35 +01:00
For instance to edit `connection_overview` diagram:
2020-09-12 17:21:54 +02:00
2020-01-28 12:36:35 +01:00
```sh
2022-07-16 11:59:20 +02:00
cd static/img/diagrams
2020-01-28 12:36:35 +01:00
vi connection_overview.mmd
# Compile diagrams:
mmdc -i connection_overview.mmd -o connection_overview.svg
```
2023-03-13 18:19:19 +01:00
## License
2018-05-22 23:15:08 +02:00
2022-07-16 11:59:20 +02:00
This site is licensed under either of
2023-03-13 18:19:19 +01:00
- Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or [http://www.apache.org/licenses/LICENSE-2.0])
- MIT license ([LICENSE-MIT](LICENSE-MIT) or [http://opensource.org/licenses/MIT])
2020-09-12 17:21:54 +02:00
<!-- LINKS -->
2023-03-13 18:19:19 +01:00
[docusaurus]: https://docusaurus.io/
[mermaid_cli]: https://github.com/mermaidjs/mermaid.cli
2023-11-02 02:16:57 +01:00