mirror of
https://github.com/actix/actix-website
synced 2025-01-22 16:15:56 +01:00
Patrik Staš
f43a46b58e
Make sure app_mutable example works out of box (#112)
The page which refers make_app_mutable section: https://actix.rs/docs/application/ Although the original example compiled, I found it a bit incomplete as it didn't really start the server. As a beginner, I first tried to reuse original `main()` example and ran into lifetime issue with counter instance. Took me a bit to figure "ahha sure, I need to move it in."
Actix Website
The work in progress website for the actix project based on tokio's website.
Getting Started
Building the website depends on Hugo. So, first make sure that you have it installed. If on OS X and using Homebrew, run the following:
brew update && brew install hugo
Then, get the website running locally:
git clone https://github.com/actix/actix-website.git
cd actix-website
hugo server
Then visit http://localhost:1313.
License
Pretty murky. Right now a massive clone of the tokio website. Will get this figured out as we go along.
Description
Languages
HTML
47.6%
JavaScript
36.3%
SCSS
10.2%
CSS
5.9%