Skip to content

guimesmo/Dextraflix

Repository files navigation

Dextraflix

To run application

On root folder, create a .env file like bellow:

FLASK_APP=main.py
FLASK_ENV=development
PYTHONPATH=$(pwd)

after that, execute the following:

docker-compose up -d
flask run

Testing application

To test application install pytest on your venv.

pip install pytest coverage

to test:

pytest

to code coverage

coverage run -m pytest
coverage report

or

coverage run -m pytest
coverage html

and access: htmlcov/index.html

About

Projeto experimental escrito em Python e Flask

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages