1
0
mirror of https://github.com/actix/actix-website synced 2024-11-24 00:41:07 +01:00
actix-website/README.md

49 lines
1.1 KiB
Markdown
Raw Normal View History

2018-05-22 23:15:08 +02:00
# Actix Website
The work in progress website for the actix project based on tokio's website.
## Getting Started
2020-09-12 17:21:54 +02:00
Building the website depends on [Hugo]. So, first make sure
that you have it installed. If on macOS and using [Homebrew], run the following:
2018-05-22 23:15:08 +02:00
```sh
2020-09-12 17:21:54 +02:00
brew update
brew install hugo
2018-05-22 23:15:08 +02:00
```
Then, get the website running locally:
```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
2020-09-12 17:21:54 +02:00
2018-05-22 23:15:08 +02:00
hugo server
2018-01-10 02:08:38 +01:00
```
2018-05-22 23:15:08 +02:00
2020-09-12 17:21:54 +02:00
Then visit http://localhost:1313.
2018-05-22 23:15:08 +02:00
## Updating diagrams
2020-09-12 17:21:54 +02:00
Diagrams are located under [/static/css/img/diagrams/](https://github.com/actix/actix-website/tree/master/static/img/diagrams) and built with [Mermaid CLI].
For instance to edit `connection_overview` diagram:
2020-09-12 17:21:54 +02:00
```sh
cd static/css/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
2020-09-12 17:21:54 +02:00
Pretty murky. Right now a massive clone of the tokio website. Will get this
2018-05-22 23:15:08 +02:00
figured out as we go along.
2020-09-12 17:21:54 +02:00
<!-- LINKS -->
[Hugo]: https://gohugo.io
[Homebrew]: https://brew.sh
[Mermaid CLI]: https://github.com/mermaidjs/mermaid.cli