roc/www
Anton-4 b552466755
glossary: type signature + typos upgrade (#7776)
* glossary: type signature

Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>

* ignore toolchain for typos

Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>

* fix typos

* put toolchain file back

---------

Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2025-05-07 17:35:56 +02:00
..
content glossary: type signature + typos upgrade (#7776) 2025-05-07 17:35:56 +02:00
public glossary: type signature + typos upgrade (#7776) 2025-05-07 17:35:56 +02:00
scripts minor improvements 2024-01-12 21:10:42 +01:00
build-dev-local.sh Address review feedback 2025-01-24 13:52:28 -06:00
build.sh replaced some nightly links with alpha2 (#7586) 2025-02-07 18:32:33 +01:00
InteractiveExample.roc Clean up InteractiveExample 2025-01-24 14:18:10 -06:00
main.roc replaced some nightly links with alpha2 (#7586) 2025-02-07 18:32:33 +01:00
netlify.sh final fix? 2025-03-05 12:07:53 +01:00
netlify.toml Lowercased some files (#7713) 2025-03-24 16:43:18 +01:00
optimize.sh Fix typo in optimize.sh 2023-11-22 01:02:02 +09:00
README.md security fix, simple-http-server fix 2025-03-21 17:49:41 +01: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.

If you want to build the repl as well, check out crates/repl_wasm/README.md.

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.