https://github.com/biancarosa/flask-app
:package: My base for a flask app.
https://github.com/biancarosa/flask-app
flask python
Last synced: 5 months ago
JSON representation
:package: My base for a flask app.
- Host: GitHub
- URL: https://github.com/biancarosa/flask-app
- Owner: biancarosa
- License: mit
- Created: 2017-12-05T21:25:59.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2024-12-05T00:02:56.000Z (over 1 year ago)
- Last Synced: 2024-12-05T01:18:20.518Z (over 1 year ago)
- Topics: flask, python
- Language: Python
- Homepage:
- Size: 90.8 KB
- Stars: 4
- Watchers: 1
- Forks: 2
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# flask-app
This is a example flask app that can be used as a template repository for new flask apps.
The application relies on the app folder, being the `main.py` its entrypoint.
It aims to use the latest version of Python, Flask and Gunicorn. Feel free to make a pull request if it's not.
# Running the app
## Docker
[Docker](https://www.docker.com/) and [Docker Compose](https://www.docker.com/) make things easy!
```sh
docker-compose up
# or if you want to run detached
docker-compose up -d
```
## Natively
There is a comprehensive `Makefile` in the project that can be used.
```sh
# install dependencies
make
# runs the app
make run
```