A boilerplate for Falcon project.
Falcon is a reliable, high-performance Python web framework for building large-scale app backends and microservices. It encourages the REST architectural style, and tries to do as little as possible while remaining highly effective.
Falcon apps work with any WSGI server, and run like a champ under CPython 2.7, CPython 3.4+, PyPy2.7, and PyPy3.5.
Preparing workspace:
virtualenv -p python3 venv --download
Or, if you want to use PyPy:
add-apt-repository -y ppa:pypy/ppa
apt update && apt -y install pypy pypy3
virtualenv -p pypy3 venv --download
Activating virtualenv:
source venv/bin/activate
Installing dependencies:
venv/bin/pip install -r requirements.txt
Run the application:
venv/bin/gunicorn run:app -c config/gunicorn.py
Supervisor daemon:
supervisorctl reread
systemctl restart supervisor
systemctl status supervisor
netstat -pltn
This project is open-sourced software licensed under the MIT license.