A custom blog written with Flask, Flask-Login, Flask-SQLAlchemy and Bootstrap
Docker is being used for a mysql database
--
- Python 3.10
the following requirements can be installed with the command pip install -r requirements.txt
- Flask
- Flask-Bootstrap
- Flask-Login
- Flask-Migrate
- Flask-SQLAlchemy
- Flask-WTF
- python-dotenv
- SQLAlchemy
- WTForms
- email-validator
- requests
- mysqlclient
- install dependencies (See requirements section above)
- copy and configure
.env.exampleand.flask.example
- reconfigure mysql environment settings in
docker-compose.yml(make sure it's the same as in the.envfile) - run the command
docker-compose upto build/start the database in docker
The blog can be started with the command flask run