fix different "environment" variables for prod & dev

This commit is contained in:
2024-03-02 16:15:03 -07:00
parent 750700e75e
commit ca90447700
7 changed files with 23 additions and 10 deletions

View File

@@ -34,9 +34,9 @@ npm run lint
* Update the project.task.yaml & CHANGELOG.md & the version in package.json, run `npm install`.
* If production: change src/constants/app.ts DEFAULT_*_SERVER to be "PROD" and package.json to remove "_Test". Also record what version is on production.
* If production: change package.json to remove "_Test". Also record what version is on production.
* `npm run build`
* `npm run build-dev` for test servers or `npm run build` for production.
* Get on the server and back up the time-safari folder.
@@ -44,9 +44,9 @@ npm run lint
* Revert src/constants/app.ts and package.json (if that was prod).
* Commit changes. Record the new hash in the changelog. Edit package.json to increment version & add "-beta", `npm install`, and commit. Tag if you didn't before. Also record what version is on production.
* Commit changes. Record the new hash in the changelog. Edit package.json to increment version & add "-beta", `npm install`, and commit. Also record what version is on production.
* [Tag wth the new version.](https://gitea.anomalistdesign.com/trent_larson/crowd-funder-for-time-pwa/releases)
* [Tag with the new version.](https://gitea.anomalistdesign.com/trent_larson/crowd-funder-for-time-pwa/releases)