Deployment info and make targets

This commit is contained in:
7400
2023-12-02 19:15:07 -08:00
parent 38ee886412
commit 11f98ef889
2 changed files with 28 additions and 0 deletions

View File

@@ -138,6 +138,21 @@ init_configs :
init_foundry :
cd contract/lib/forge-std && git submodule init && git submodule update
# deploy
deploy-contract :
cd contract; make build
cd contract; RPCURL=https://rpc.alpha.dexorder.trade ./bin/deploy.sh alpha mock
deploy-backend :
bin/deploy.sh backend
deploy-server :
bin/deploy.sh server
deploy-web :
bin/deploy.sh web
# GIT
submodule-check :
@echo "origin/master vs HEAD for web:"

View File

@@ -110,6 +110,19 @@ Note `Makefile` to perform these installation and execution instructions.
*NOTE*: you can leave the web process (Vue) running while resetting everything else from #2 onwards. Just refresh the web browser after a new mock deployment
## Deployment
1. Follow these instructions to install gcloud CLI
> https://cloud.google.com/kubernetes-engine/docs/how-to/cluster-access-for-kubectl
2. Get authorization from Tim and log in.
gcloud.init
https://kubernetes.io/docs/reference/kubectl/cheatsheet/
## FAQ
### Help my Metamask wallet appears frozen