Facilitate installation for dispatcher
This commit is contained in:
parent
ca7033f6df
commit
9ec9fb0964
|
@ -6,7 +6,7 @@ Define servername api.devicetag.io
|
|||
# The domain used to access the server
|
||||
Define appdir /home/devicetag/sites/${servername}/source/
|
||||
# The path where the app directory is. Apache must have access to this folder.
|
||||
Define wsgipath ${appdir}/wsgi.wsgi
|
||||
Define wsgipath ${appdir}/wsgi.py
|
||||
# The location of the .wsgi file
|
||||
Define pyvenv ${appdir}../venv/
|
||||
# The path where the virtual environment is (the folder containing bin/activate)
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
"""
|
||||
An exemplifying Apache python WSGI to a Devicehub app with a dispatcher.
|
||||
"""
|
||||
from ereuse_devicehub.dispatchers import PathDispatcher
|
||||
|
||||
application = PathDispatcher()
|
Reference in New Issue