Skip to content

Latest commit

 

History

History
47 lines (36 loc) · 988 Bytes

README.md

File metadata and controls

47 lines (36 loc) · 988 Bytes

flask-devkit

Develop and test Flask applications in a portable containerized development environment.

The app files are available locally and you can edit them with the editor of your choice. All the commands are run in a container. You do not need to install Python or any of the dependencies locally.

Flask-devkit uses Python 3.7 by default.

Postgres is included in case you need a database.

Requirements

Docker and docker-compose are required. Docker must be running. Make is not required (you can run all the Docker and docker-commands without it); it is only required for easily using the shortcuts described below.

Get started

make build

This will build the necessary container(s).

Run tests

make test

Lint code

make lint

Generate test coverage report

make coverage

Run the app locally for development

make up

To stop the app:

make down

View logs

make logs