Skip to content

VoiProject/Deploy

Repository files navigation

Deploy

Voi System setup files

Setup

Install docker

sudo apt update
sudo apt install apt-transport-https ca-certificates curl software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable"
sudo apt update
apt-cache policy docker-ce
sudo apt install docker-ce
sudo systemctl status docker

Install docker-compose

sudo curl -L https://github.com/docker/compose/releases/download/1.21.2/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
docker-compose --version

Setup project

sudo apt install git

mkdir Voi
cd Voi
git clone https://github.com/VoiProject/Deploy.git
cd Deploy
git clone https://github.com/VoiProject/FlaskBackend.git
cd FlaskBackend
git clone https://github.com/VoiProject/Frontend.git
cd ../..

Start system

cd Backend/ && git pull && cd Frontend/ && git pull && cd ../.. && docker-compose build && docker-compose up

Releases

No releases published

Packages

No packages published

Languages