Final project for the ODAS course.
After cloning the repository:
-
Go to the
flask-appdirectory. -
Create an
.envfile:
SECRET_KEY=...
SQLALCHEMY_DATABASE_URI=...
PEPPER=...
-
Create an
ssldirectory and inside it:- Create a private key
my_ssl.key.
$ openssl genrsa -out my_ssl.key- Create a self-signed certificate
my_ssl.crt.
$ openssl req -new -x509 -days 365 -key my_ssl.key -out my_ssl.crt - Create a private key
-
Run the container from the
flask-appdirectory:
$ docker-compose up --build