update readme

This commit is contained in:
ajuvercr 2019-09-13 22:59:54 +02:00
parent 35f39a8034
commit ae7159889b

View file

@ -1,9 +1,20 @@
# Planetwars frontend
This is the main folder of the Planetwars frontend.
Here you can compile the rust wasm files needed in the 'WWW' folder that is actually used to host the server.
When making changes make sure you recompile them using `wasm-pack build`
and webpack is running in www with `npm start` from the www folder.
### Build
wasm-pack build
### Dependencies
- rustup, rustc, cargo
- npm
- wasm-pack
- nightly, wasm32-unknown-unknown target
...