Attempt to fix build, part 3

This commit is contained in:
Eliot Partridge
2019-09-09 10:17:40 -05:00
parent 93cc84e626
commit f4a32256f2
3 changed files with 20 additions and 7 deletions
+7 -2
View File
@@ -196,11 +196,16 @@ node -e "console.log(require('crypto').randomBytes(64).toString('base64'))"
### Your first build
pixel.horse has modified the Pony Town archive such that compiled game assets are no longer included. To compile the game assets for the first time, you can either use a development build with the `--sprites` flag (see [Running in development](#running-in-development)), or use the following commands to build and start a production instance with compiled sprites:
pixel.horse has modified the Pony Town archive such that compiled game assets are no longer included. To compile the game assets for the first time, you must use the following command, which will generate the necessary spritesheets and corresponding data.
```bash
gulp sprites
```
If you would like to run a full production build after building spritesheets, you can use:
```bash
npm run build-sprites
npm start
```
### Production environment