Skip to content

binaize/binaize-web-app

Repository files navigation

binaize-ui

To deploy in EC2 DEV cluster

ssh -i "binaize-optimize.pem" ubuntu@dev.app.binaize.com
sudo apt update
sudo apt -y install docker.io
sudo apt -y install docker-compose
git clone https://github.com/binaize/binaize-ui.git
cd binaize-ui
git checkout development
cp binaize-ui/theia-dev.env binaize-ui/theia.env

To deploy in EC2 STAGING cluster

ssh -i "binaize-optimize.pem" ubuntu@staging.app.binaize.com
sudo apt update
sudo apt -y install docker.io
sudo apt -y install docker-compose
git clone https://github.com/binaize/binaize-ui.git
cd binaize-ui
git checkout staging
cp binaize-ui/theia-staging.env binaize-ui/theia.env

To deploy in EC2 PROD cluster

ssh -i "binaize-optimize.pem" ubuntu@app.binaize.com
sudo apt update
sudo apt -y install docker.io
sudo apt -y install docker-compose
git clone https://github.com/binaize/binaize-ui.git
cd binaize-ui
git checkout master
cp binaize-ui/theia-prod.env binaize-ui/theia.env

For first time deployment

nohup sudo docker-compose -f docker-compose-theia.yaml up --build --remove-orphans >> ~/theia.out&

For re-deployment

nohup sudo docker-compose -f docker-compose-theia.yaml up --build --remove-orphans >> ~/theia.out&