roc/www/wip_new_website
2023-09-18 15:26:09 -05:00
..
content Remove the whole #var1 thing 2023-09-17 06:31:51 -04:00
static small improvements 2023-08-05 14:35:45 +02:00
.gitignore change binary name to reduce name conflicts 2023-06-22 16:16:49 +10:00
build.roc basic-cli 0.4.0 -> 0.5.0 2023-08-12 19:34:33 +02:00
main.roc Fix favicon on Safari 2023-09-18 15:26:09 -05:00
README.md added README for wip website 2023-08-09 15:57:10 +02: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
roc build.roc

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

After you've made a change

In the terminal where roc build.roc is running:

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