deployment instructions touchup

This commit is contained in:
tim
2024-10-22 18:36:49 -04:00
parent cb485c4da2
commit 274f2c933b

View File

@@ -43,12 +43,12 @@ Use the top-level (dexorder) directory as working directory for every step.
3. Commit everything under the `contract/deployment/arb1` directory
4. Set up the API key, accounts, etc. in `backend/conf/arb1/.secret.toml` and `backend/conf/arb1/dexorder-arb1.toml`
5. `cd backend && bin/secret-push arb1 && bin/config-push arb1`
6. `bin/deploy backend arb1`
6. `bin/build backend arb1 && bin/deploy backend arb1`
7. Create a `metadata.json` file with approved tokens and pools by:
1. In the database's `token` table, set the `approved` flag to `true` for all coins that may be searched by symbol or name
2. run the Python module `dexorder.bin.generate_metadata`
8. Set up the API key, accounts, etc. in `server/.env-arb1`
9. `cd server && bin/secret-push arb1`
10. `bin/deploy server arb1`
10. `bin/build server arb1 && bin/deploy server arb1`
11. There are no secrets in `web/.env-arb1` so it is checked into git and part of the Docker build. Just run
`bin/deploy web arb1`
`bin/build web arb1 && bin/deploy web arb1`