Skip to content

Commit

Permalink
added README for wip website
Browse files Browse the repository at this point in the history
  • Loading branch information
Anton-4 committed Aug 9, 2023
1 parent e6e1a13 commit 64ab5cb
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions www/wip_new_website/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@

# Getting Started

## Prerequisites

- Linux or MacOS operating system, Windows users can use linux through WSL.
- Install [git](https://chat.openai.com/share/71fb3ae6-80d7-478c-8a27-a36aaa5ba921)
- Install [nix](https://nixos.org/download.html)

## Building the website from scratch

```bash
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
roc build.roc
```

Open http://0.0.0.0:8080/wip in your browser.

## After you've made a change

In the terminal where `roc build.roc` is running:
1. kill the server with Ctrl+C
2. run `roc build.roc`
3. refresh the page in your browser

0 comments on commit 64ab5cb

Please sign in to comment.