Deploy multiple apps to single Heroku dyno using Honcho and Flask.
-
Add run scripts to
ProcfileHoncho
. Each application can behave as its own root server so long as it's bound to a separate port. -
Optionally, add an environment file to setup source-controlled environment variables for port numbers.
-
Add application routing to the
modules
dictionary inapp.py
. -
Start
honcho
.virtualenv -p python3 env source env/bin/activate pip install -r requirements.txt honcho start