In development
docker compose build
docker compose up
docker build . -t ramda-guide
docker volume create ramda-guide-vol
docker run --rm -it -v $PWD:/service ramda-guide:latest
If you are using Docker, prefix the following with docker compose run --rm app
; for example:
docker compose run --rm app nix run .#watch
nix build
: build the packagenix run
ornix run .#app
: run the packagenix run .#watch
: watch the package for changes and rerunnix develop
: enter a reproducible rust shell environment- How to watch for changes and rerun:
cargo watch -w "./src/" -i "./src/book/book.toml" -x "run"
- How to watch for changes and rerun:
To view the output, run the following in a separate window/pane:
cd web && python -m SimpleHTTPServer 8000