add version to ping endpoint, tweak README
This commit is contained in:
@@ -13,7 +13,7 @@ mkdir uploads
|
||||
pnpm run migrate
|
||||
```
|
||||
|
||||
Now set up an AWS S3 bucket & Infura project, and manually set these variables inside a .env file:
|
||||
Now set up an S3 bucket & Infura project, and create a .env file from .env.sample with these important settings:
|
||||
```
|
||||
AWS_ACCESS_KEY=
|
||||
AWS_SECRET_KEY=
|
||||
@@ -22,8 +22,6 @@ AWS_REGION=
|
||||
INFURA_PROJECT_ID=
|
||||
```
|
||||
|
||||
If you use a domain with a web redirect, use a permanent redirect (since browsers complained with PR_END_OF_FILE_ERROR about a secure connection when it's temporary).
|
||||
|
||||
## dev
|
||||
|
||||
```
|
||||
@@ -45,9 +43,9 @@ JWT=`node -e "$CODE"`; curl -X DELETE -H "Authorization: Bearer $JWT" http://loc
|
||||
|
||||
* In object storage, set up bucket and erase any test data.
|
||||
|
||||
* In DNS, set a permanent web forward to the correct storage location.
|
||||
* In haproxy, set a permanent web forward to the correct storage location.
|
||||
|
||||
|
||||
## deploy to prod subsequent times
|
||||
|
||||
* Add CHANGELOG.md entry.
|
||||
* Add CHANGELOG.md entry. Update version in server.js file.
|
||||
|
||||
Reference in New Issue
Block a user