-
Do not renvent the wheel: we start from the boilerplate provided by Timothy Ko which contains almost all the best practices suggested by the Flask community and a lot of match with prefered tools: docker with hot reload, black as formatter, pylint, pytest and the flask ecosystem.
-
Fastest way to try the app is using docker compose and in particular the command
make up
.
Assuming that you have python3, docker and docker-compose installed,python3 -m pip install virtualenv python3 virtualenv venv source /venv/bin/activate make up
-
In order to run the unittests you need to install some python packages and run pytest:
python3 -m pip install -r requirements.txt python3 -m pip install -r requirements-dev.txt pytest
-
There is the beginning of e2e test file to populate the DB trough a post request to the app.
python3 scripts/populate_db.py
-
Unfortunately, the localization isn't tested yet but it is fully implemented.
-
Notifications
You must be signed in to change notification settings - Fork 0
gianni-di-noia/brandw0rkz
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published