1
1
mirror of https://github.com/srid/rib.git synced 2024-09-11 13:37:20 +03:00

Fix tutorial commands

This commit is contained in:
Jonathan Strickland 2021-01-19 14:33:00 -05:00
parent 8a9989621a
commit 65fa7959cc

View File

@ -33,7 +33,7 @@ Clone the sample repository locally, install [Nix](https://nixos.org/nix/) (as
described in its README) and run your site as follows:
```bash
nix-shell --run 'ghcid -T ":main serve"'
nix-shell --run 'ghcid -T ":main -wS"'
```
Running this command gives you a local HTTP server at <http://127.0.0.1:8080>
@ -58,7 +58,7 @@ installed.
4. `Rib.App.run`: this parses the CLI arguments and runs the rib CLI "app" which
can be run in one of a few modes --- generating static files, watching the
`content/` directory for changes, starting HTTP server for the `dest/` directory.
The "serve" subcommand will run the Shake build action passed as argument on
The "-wS" options will run the Shake build action passed as argument on
every file change and spin up a HTTP server.
Run that command, and visit <http://127.0.0.1:8080> to view your site.