diff --git a/Makefile b/Makefile index 0ac930e..3e3a17f 100644 --- a/Makefile +++ b/Makefile @@ -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:" diff --git a/install.md b/install.md index 75e9434..ad2755c 100644 --- a/install.md +++ b/install.md @@ -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