A sample Flask app
Project description
Sample flask app project
About
Sample flask application packaged and ready to deploy
Goals
The main project goals are:
- sample skeleton for fast start develop;
- usage flask_sample package from pypi for checking docker python web app packaging;
Deploying on production
pip3 install flask-sample[gunicorn]
gunicorn --bind 127.0.0.1:8088 flask_sample.wsgi
Setup and configure development environment
Clone repository
git clone git@github.com:ph20/flask-sample.git
Create virtual environment with venv module
cd flask-sample
python3 -m venv ./venv
source ./venv/bin/activate
pip install -e .[dev]
Try to run application in development mode
python ./src/flask_sample/app.py
Preparing python packages
source package python setup.py build sdist
wheel package python setup.py build bdist_wheel
Find packages in dist
directory
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
flask-sample-0.4a4.tar.gz
(59.3 kB
view hashes)
Built Distribution
Close
Hashes for flask_sample-0.4a4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ac14ec810716343743831dc1a748939bd93cf83743d1fbe144b5891e9c36ff1 |
|
MD5 | 6b6433694c9350c8ad4765d1b1296bc8 |
|
BLAKE2b-256 | a3ea3cfec1de83d40600044e21f25d0e49d90dd97316566575e1b1986901e3d2 |