roc/www/wip_new_website
Richard Feldman 34ef8436b5
Reproduce roc check bug
To repro: run `roc check` in www/wip_new_website/
2023-10-29 21:56:27 -04:00
..
content small corrections 2023-10-23 19:45:28 +02:00
static Reproduce roc check bug 2023-10-29 21:56:27 -04:00
.gitignore change binary name to reduce name conflicts 2023-06-22 16:16:49 +10:00
build-dev-local.sh Make bash script work when called in other dirs 2023-10-29 21:56:27 -04:00
InteractiveExample.roc Reproduce roc check bug 2023-10-29 21:56:27 -04:00
main.roc Reproduce roc check bug 2023-10-29 21:56:27 -04:00
optimize.sh Add optimize.sh script for website 2023-10-18 23:28:01 -04:00
README.md fix README 2023-10-19 16:23:01 +11:00

Getting Started

Prerequisites

  • Linux or MacOS operating system, Windows users can use linux through WSL.
  • Install git
  • Install nix

Building the website from scratch

git clone https://github.com/roc-lang/roc.git
cd roc
nix develop
./www/build.sh
# make the roc command available 
export PATH="$(pwd)/target/release/:$PATH"
cd www/wip_new_website
bash build-dev-local.sh

Open http://0.0.0.0:8080/wip in your browser.

After you've made a change

In the terminal where the web server is running:

  1. kill the server with Ctrl+C
  2. re-run the build script
  3. refresh the page in your browser