mirror of
https://github.com/roc-lang/roc.git
synced 2024-11-10 10:02:38 +03:00
34ef8436b5
To repro: run `roc check` in www/wip_new_website/ |
||
---|---|---|
.. | ||
content | ||
static | ||
.gitignore | ||
build-dev-local.sh | ||
InteractiveExample.roc | ||
main.roc | ||
optimize.sh | ||
README.md |
Getting Started
Prerequisites
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:
- kill the server with Ctrl+C
- re-run the build script
- refresh the page in your browser