Application for taking notes
Python
: 3.10MariaDB
: 10.2Flask
: 2.2.2
python -m venv flask_note_env
python -m pip install venv
. flask_note_env/bin/activate
python -m pip install -r requirements.txt
export FLASK_APP=main.py
export FLASK_ENV=development
Recommend: Before migration run flask server
flask run
- Create a migration repository
flask db init
- Create a migration script
flask db migrate -m "init migration"
- Apply the migration to the database
flask db upgrade
docker compose up --build
See output https://localhost:5001