- Clone repo with all submodules
git clone git@github.com:wiating-app/wiating_devops.git --recursive - Copy
.env.examplefile to.envand replaceXXXXXinside with a correct secrets. - Execute
docker-compose up - To initialize database execute
docker-compose exec app bash ./scripts/initialize_database.sh
- Create
adminuser, add tosudogroup - Put all your secrets into
/opt/.envfile - Put S3 secrets into
/home/admin/.aws/credentials(according to boto3) - Put Flask dashboard config into
/opt/dashboard.cfgfile - Run ansible