roc/www
Ayaz ec8deeaa6d
Mention installing z3 on macos
libz3 must be present on apple silicon.

Signed-off-by: Ayaz <20735482+ayazhafiz@users.noreply.github.com>
2024-12-30 13:32:51 -05:00
..
content Mention installing z3 on macos 2024-12-30 13:32:51 -05:00
public Migrate different-names.html to markdown 2024-10-12 20:49:39 +11:00
scripts minor improvements 2024-01-12 21:10:42 +01:00
build-dev-local.sh minor improvements 2024-01-12 21:10:42 +01:00
build.sh use TESTING release for website 2024-11-29 13:29:39 +01:00
InteractiveExample.roc rename Str.split 2024-11-15 21:12:23 -06:00
main.roc rename Str.split 2024-11-15 21:12:23 -06:00
netlify.sh update llvm and zig version in all locations 2023-10-23 13:50:32 -07:00
netlify.toml Move CSP to just /packages/ 2023-11-10 20:18:13 -05:00
optimize.sh Fix typo in optimize.sh 2023-11-22 01:02:02 +09:00
README.md Fix a path typo in www/README 2024-05-09 01:42:48 -06:00

www.roc-lang.org

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"
bash ./www/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:

  1. kill the server with Ctrl+C
  2. re-run the build script
  3. 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.