1
0
mirror of https://github.com/actix/actix-website synced 2024-12-18 01:43:59 +01:00
actix-website/README.md

44 lines
1.1 KiB
Markdown
Raw Normal View History

2018-05-22 23:15:08 +02:00
# Actix Website
2022-09-11 20:15:46 +02:00
> The upcoming v2 website is available here: <https://actix-website.netlify.app>.
2018-05-22 23:15:08 +02:00
## Getting Started
Building the website depends on [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
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
Then visit http://localhost:3000.
2018-05-22 23:15:08 +02:00
## Updating diagrams
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].
For instance to edit `connection_overview` diagram:
2020-09-12 17:21:54 +02:00
```sh
cd static/img/diagrams
vi connection_overview.mmd
# Compile diagrams:
mmdc -i connection_overview.mmd -o connection_overview.svg
```
2018-05-22 23:15:08 +02:00
# License
This site is licensed under either of
* 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 -->
[Docusaurus]: https://docusaurus.io/
2022-02-26 05:41:49 +01:00
[mermaid cli]: https://github.com/mermaidjs/mermaid.cli