In development
docker compose build
docker compose updocker build . -t ramda-guide
docker volume create ramda-guide-vol
docker run --rm -it -v $PWD:/service ramda-guide:latestIf you are using Docker, prefix the following with docker compose run --rm app; for example:
docker compose run --rm app nix run .#watchnix build: build the packagenix runornix 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