Open xenophonf opened 9 years ago
My Salt formula for SaltPad can be found at https://github.com/irtnog/salt-states/tree/development/saltpad.
@xenophonf where does this 'saltpad.wsgi'
file go?
I have 'mod_wsgi'
installed for apache 2.2.16 on centos 6.x, is that going to work?
@xenophonf thank you for this!
@TheBigBear the saltpad.wsgi file goes in the saltpad root directory.
You're welcome!
In case anyone else is wondering, I installed SaltPad under /opt/saltpad and then put the following in saltpad.wsgi:
This follows the recommended WSGI file contents as described in the Flask documentation. Note that
sys.path
must be mutated because SaltPad does not currently get installed under Python's site-packages (and so the SaltPad installation instructions say to run it from the source directory).