Skip to content

TomaszKlosinski/kodilla-final-project

Repository files navigation

kodilla-final-project

kodilla-final-project

Final Project for Kodilla Python Bootcamp - a flask-based Blog application.

See the deployed project on Heroku:

See also other exercises and notes from the Python Bootcamp:

Local development

To run the application locally:

pip install -r requirements.txt
export FLASK_APP=blog.py
flask run

Alternatively, you can use docker:

docker build -t blog .
docker run -p 8080:5000 --name blog blog

Or docker-compose:

docker-compose build
docker-compose up

Tests

Install required packages:

pip install -r requirements.txt

Run locally:

pytest -v

Tests with different Python versions:

tox --recreate

Or if you have Vagrant+VirtualBox, you can use:

vagrant up

CI/CD

See the tests on Continuous Integration workflow: https://github.com/TomaszKlosinski/kodilla-final-project/actions