|
@ -22,16 +22,23 @@ npm run lint |
|
|
|
|
|
|
|
|
If you are deploying in a subdirectory, add it to `publicPath` in vue.config.js, eg: `publicPath: "/app/time-tracker/",` |
|
|
If you are deploying in a subdirectory, add it to `publicPath` in vue.config.js, eg: `publicPath: "/app/time-tracker/",` |
|
|
|
|
|
|
|
|
``` |
|
|
* `npx prettier --write ./sw_scripts/` |
|
|
npm run build |
|
|
|
|
|
``` |
|
|
|
|
|
|
|
|
|
|
|
``` |
|
|
...to make sure the service worker scripts are in proper form |
|
|
npx prettier --write ./sw_scripts/ |
|
|
|
|
|
``` |
|
|
* Update the CHANGELOG.md & the version in package.json, run `npm install`, and commit. Tag wth the new version: `git tag 0.1.0` |
|
|
to make sure the service worker scripts are in proper form |
|
|
|
|
|
|
|
|
* If production, change src/constants/app.ts DEFAULT_*_SERVER to be PROD. |
|
|
|
|
|
|
|
|
|
|
|
* `npm run build` |
|
|
|
|
|
|
|
|
|
|
|
* Revert src/constants/app.ts & change version to "-beta" |
|
|
|
|
|
|
|
|
|
|
|
* `cp sw_scripts/[ns]* dist/` |
|
|
|
|
|
|
|
|
|
|
|
... to copy the contents of the `sw_scripts` folder to the `dist` folder - except additional_scripts.js. |
|
|
|
|
|
|
|
|
... then copy the contents of the `sw_scripts` folder to the `dist` folder - except additional_scripts.js. |
|
|
* `rsync -azvu -e "ssh -i ~/.ssh/..." dist ubuntu@endorser.ch:time-safari` |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|