Skip to content

Commit

Permalink
adds K8s clone repo command
Browse files Browse the repository at this point in the history
  • Loading branch information
alo9507 committed Oct 4, 2021
1 parent d3a7fbb commit 601971c
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
contracts/
OpenQ-API/
frontend/
OpenQ-Kubernetes
OpenQ-Helm/
PAT
nohup.out
8 changes: 8 additions & 0 deletions 6_setup_helm.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/bash
if [ -d "./OpenQ-Helm" ]
then
echo -e "\n/OpenQ-Helm directory found\n"
else
echo -e "No OpenQ-Helm directory found. Cloning OpenQ-Helm...\n"
git clone https://github.com/OpenQDev/OpenQ-Helm.git
fi
File renamed without changes.
6 changes: 4 additions & 2 deletions boot_openQ.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,16 @@ chmod u+x 2_setup_node.sh
chmod u+x 3_deploy_contracts.sh
chmod u+x 4_setup_api.sh
chmod u+x 5_setup_frontend.sh
chmod u+x 6_setup_fullstack.sh
chmod u+x 6_setup_helm.sh
chmod u+x 7_setup_fullstack.sh

# Pull repos (if not present) and install dependencies
./1_setup_contracts.sh
./2_setup_node.sh
./3_deploy_contracts.sh
./4_setup_api.sh
./5_setup_frontend.sh
./6_setup_helm.sh

# Copy contract addresses and provider URL
echo -e "Copying .env.docker file to OpenQ-API to connect to proper RPC node and contract addresses\n"
Expand All @@ -24,4 +26,4 @@ cp ./contracts/.env.docker ./frontend/.env
cp -R ./contracts/artifacts ./frontend/
cat PAT >> ./frontend/.env

./6_setup_fullstack.sh $1
./7_setup_fullstack.sh $1

0 comments on commit 601971c

Please sign in to comment.