Commit 951651d3 authored by Rahix's avatar Rahix 🦀
Browse files

Update README

parent ee2e3c4a
......@@ -39,19 +39,25 @@ as you find out:
[`rustup`]: https://rustup.rs/
[`cargo-watch`]: https://github.com/passcod/cargo-watch
With those dependencies installed, run
```bash
cd www/ && npm install
```
## Development Environment
Open two shell sessions, one for the rust build and one for the webpack dev
server:
```bash
# For the webpack dev server:
cd www/
npm run start
# For Rust:
cargo watch -s "wasm-pack build" --watch src
# or, if you don't use cargo-watch, just run
wasm-pack build
# For the webpack dev server:
cd www/
npm run start
```
Then point your browser to `http://localhost:8080` and start hacking! The
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment