roc/www/wip_new_website
2023-10-31 23:09:04 -04:00
..
content Use <header> instead of <div> for header 2023-10-31 22:54:15 -04:00
static Bump font size in header links 2023-10-31 22:55:28 -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 Finish explanations in longer example 2023-10-31 23:09:04 -04:00
main.roc Use <header> instead of <div> for header 2023-10-31 22:54:15 -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