- Clone repo with all submodules
git clone git@github.com:wiating-app/wiating_devops.git --recursive
- Copy
.env.example
file to.env
and replaceXXXXX
inside with a correct secrets. - Execute
docker-compose up
- To initialize database execute
docker-compose exec app bash ./scripts/initialize_database.sh
- Create
admin
user, add tosudo
group - Put all your secrets into
/opt/.env
file - Put S3 secrets into
/home/admin/.aws/credentials
(according to boto3) - Put Flask dashboard config into
/opt/dashboard.cfg
file - Run ansible