mirror of
https://github.com/roc-lang/roc.git
synced 2024-11-11 16:51:53 +03:00
a4bedd1d63
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com> |
||
---|---|---|
.. | ||
content | ||
public | ||
.gitignore | ||
build-dev-local.sh | ||
build.sh | ||
InteractiveExample.roc | ||
main.roc | ||
netlify.sh | ||
netlify.toml | ||
optimize.sh | ||
README.md |
www.roc-lang.org
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"
bash build-dev-local.sh
Open http://0.0.0.0:8080 in your browser.
After you've made a change locally
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
To view the website after you've made a change, execute:
bash build-dev-local.sh
Open http://0.0.0.0:8080 in your browser.