- Deploy
- Apply domain name
- Fix PDFKit issue: not able to load fonts from the same subset. - non-mission-critical
.
├── app : Main application folder
│ ├── auth : Authenthication blueprint
│ ├── cursos : Course article blueprint
│ ├── main : Main blueprint
│ ├── static : Static page files
│ ├── templates : Jinja templates (ordered by blueprint folders)
│ ├── scheduler : Schedodule init
│ ├── email.py : Email service
│ └── models.py : Database models
├── temp : Temporary files
├── .gitignore : Ignored files and extensions
├── .flaskenv : Flask environment variables
├── .env : Secret environtment variables
├── Pipfile : Pipenv dependiencies
├── Pipfile.lock : Pipenv dependencies lock
├── README.md : This file
└── web_app.py : Run file
Install pipenv:
pip install pipenv
Install virtual environment packages:
pipenv install --dev
Enter virtual environment shell:
pipenv shell
Call the flask command to run the app (from inside the virtual environment):
flask run
Full example:
pip install pipenv
pipenv install --dev
pipenv shell
flask run
Please disable auto formatting for python files to keep it from messing up imports.
mkdir .vscode
touch .vscode/settings.json
.vscode/settings.json
{
"[python]": {
"editor.formatOnsave": false
}
}