https://github.com/julian-nash/flask-template
Flask Web Application Template
https://github.com/julian-nash/flask-template
flask python template
Last synced: 2 months ago
JSON representation
Flask Web Application Template
- Host: GitHub
- URL: https://github.com/julian-nash/flask-template
- Owner: Julian-Nash
- Created: 2019-11-07T16:26:02.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-04-27T20:32:51.000Z (about 5 years ago)
- Last Synced: 2025-03-24T15:21:46.295Z (3 months ago)
- Topics: flask, python, template
- Language: Python
- Homepage:
- Size: 5.86 KB
- Stars: 3
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Simple Flask Template
A simple skeleton Flask template
### Local development
```sh
python -m venv env
source env/bin/activate
pip install -e .
export FLASK_ENV=development
flask run
```- http://localhost:5000
### Running with uWSGI
Install `uwsgi` with `pip`
```shell script
pip install uwsgi
```Run
```sh
uwsgi app.ini
```- http://localhost:8080
### Running with Docker
```sh
docker build -t flaskapp .
docker run -p 8080:8080 flaskapp
```- http://localhost:8080