Install Dependencies:
- Node
- Yarn
Fork the Happy Island Designer repo on GitHub.
git clone https://github.com/[your username]/HappyIslandDesigner.git`
cd HappyIslandDesigner
yarn
yarn upgrade paper
Note: you will probably need to run yarn upgrade paper
every time you change package.json. I don't know how to fix this yet.
yarn dev
In your web browser, go to http://localhost:8080/. This will rebuild and hot-reload automatically as you make changes.
yarn build
python -m http.server
In your web browser, go to http://localhost:8000/
Create a Pull Request to your repo/branch.
Sometimes webpack can get a little finicky when it comes to relative routes in .scss or .html files. To make sure your relative routes are working, run a server where the HappyIslandDesigner directory is not the root.
cd HappyIslandDesigner
python -m http.server
In your web browser, go to http://localhost:8000/