forked from trent_larson/crowd-funder-for-time-pwa
change build for test servers, bump version to 0.3.1
This commit is contained in:
19
README.md
19
README.md
@@ -34,11 +34,24 @@ npm run lint
|
||||
|
||||
* Update the project.task.yaml & CHANGELOG.md & the version in package.json, run `npm install`.
|
||||
|
||||
* If production: change package.json to remove "_Test". Also record what version is on production.
|
||||
* Record what version is currently on production.
|
||||
|
||||
* `npm run build-dev` for test servers or `npm run build` for production.
|
||||
* Run the correct build
|
||||
|
||||
* Get on the server and back up the time-safari folder.
|
||||
* Production
|
||||
```
|
||||
# This picks up values from .env.production
|
||||
npm run build
|
||||
```
|
||||
|
||||
* Development
|
||||
```
|
||||
# Set test values. (See .env.development for more details.)
|
||||
# The test BVC_MEETUPS_PROJECT_CLAIM_ID does not resolve as a URL because it's only in the test DB and the prod redirect won't redirect there.
|
||||
APP_TITLE="TimeSafari_Test" VUE_APP_BVC_MEETUPS_PROJECT_CLAIM_ID=https://endorser.ch/entity/01HNTZYJJXTGT0EZS3VEJGX7AK VUE_APP_DEFAULT_ENDORSER_API_SERVER=http://localhost:3000 VUE_APP_DEFAULT_IMAGE_API_SERVER=http://localhost:3002 npm run build
|
||||
```
|
||||
|
||||
* Get on the server and back up the DB and the time-safari folder.
|
||||
|
||||
* `rsync -azvu -e "ssh -i ~/.ssh/..." dist ubuntutest@test.timesafari.app:time-safari`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user