-
Install docker and docker-compose
-
Create the credentials.env file like the template, and replace credentials/settings with those your require
-
Update docker-compose.yml to provide a volume for the database
-
Build and run the Docker containers
- % docker-compose build
- % docker-compose build
- % docker-compose up -d
- Browse to http://localhost:81
-
Use LetsEncrypt and Certbot to add fullchain.pem and privkey.pem files to project root directory
-
Edit mysettings-ssl.conf to uncomment certificate lines and change server_name to your domain
Execute from within running web container...
- % flask db init - Adds a database migrations folder to your application.
- % flask db migrate - Makes a migration script.
- % flask db upgrade - Applies outstanding migrations to the database.
See https://flask-migrate.readthedocs.io for more info.