mirror of
https://github.com/dmuth/diceware.git
synced 2024-12-22 20:03:48 +00:00
Added instructions for displaying version Id in debug message
This commit is contained in:
parent
6c48ba3156
commit
7a5bdb0c81
1 changed files with 2 additions and 0 deletions
|
@ -60,6 +60,7 @@ A local webserver can be set up by running `npm install http-server -g` to insta
|
|||
- `npm run dev-build` - Run webpack to pack Javascript files and watch for changes.
|
||||
- `http-server`
|
||||
- `vim src/lib.js src/index.js`
|
||||
- `rm -fv src/index.js && git co src/index.js` - Get the new SHA1 hash that will be displayed in debug messages.
|
||||
- `npm test` - Make sure you didn't break any of the core logic!
|
||||
- `npm run build` - Webpack Javscript files in production mode (smaller file but takes longer)
|
||||
- `./go-sync-to-s3.sh` - Do this if you're me, to upload to S3. If you're not me, you'll need to do something else, or possibly nothing at all.
|
||||
|
@ -70,6 +71,7 @@ A local webserver can be set up by running `npm install http-server -g` to insta
|
|||
- `npm run clean; npm run dev-build` - Run webpack in dev mode while working on Javascript
|
||||
- `http-server` - Stand up a local HTTP server
|
||||
- `vim src/lib.js src/index.js`
|
||||
- `rm -fv src/index.js && git co src/index.js`
|
||||
- `npm run clean; npm run build` - Run webpack in prod mode to produce final Javascript bundle
|
||||
- `./go-sync-to-s3.sh` - Do this if you're me, to upload to S3. If you're not me, you'll need to do something else, or possibly nothing at all.
|
||||
|
||||
|
|
Loading…
Reference in a new issue