From 274f2c933b59c0ced1b187c301e45298603a02c4 Mon Sep 17 00:00:00 2001 From: tim Date: Tue, 22 Oct 2024 18:36:49 -0400 Subject: [PATCH] deployment instructions touchup --- doc/arb1-deploy.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/arb1-deploy.md b/doc/arb1-deploy.md index d1db52b..10fb58a 100644 --- a/doc/arb1-deploy.md +++ b/doc/arb1-deploy.md @@ -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` \ No newline at end of file + `bin/build web arb1 && bin/deploy web arb1`