/ramda.guide

Ramda Guide

Primary LanguageRustBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

ramda.guide

built with nix

https://ramda.guide

Status

In development

Setup

With Docker

With docker compose (recommended)

docker compose build
docker compose up

Without docker compose

docker build . -t ramda-guide
docker volume create ramda-guide-vol
docker run --rm -it -v $PWD:/service ramda-guide:latest

Without Docker

  1. Install nix
  2. Install nix flakes

Commands

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 package
  • nix run or nix run .#app: run the package
  • nix run .#watch: watch the package for changes and rerun
  • nix 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"

Dev HTTP Server

To view the output, run the following in a separate window/pane:

cd web && python -m SimpleHTTPServer 8000

Updating the cachix cache

https://docs.cachix.org/pushing