Skip to content
Permalink
Browse files

added package + further name changes

  • Loading branch information
proost committed Oct 27, 2017
1 parent 8dc7886 commit 066bddc14e8604354f6b8a8009f965840144bf5d
Showing with 8 additions and 7 deletions.
  1. 0 planet.template.wsgi → conekt.template.wsgi
  2. +2 −1 docs/acknowledgements.md
  3. +6 −6 docs/apache_wsgi.md
File renamed without changes.
@@ -1,4 +1,4 @@
# PlaNet 2.0 Acknowledgements
# CoNekT Acknowledgements

* [Flask](http://flask.pocoo.org/) and various packages
* [Python 3.4.3](https://www.python.org/)
@@ -16,6 +16,7 @@
* [table2CSV.js](http://www.kunalbabre.com/projects/table2CSV.php)
* [D3.js](https://d3js.org/)
* [d3.phylogram.js](https://gist.github.com/kueda/1036776)
* [PhyD3.js](https://phyd3.bits.vib.be/)
* [typeahead.js](https://twitter.github.io/typeahead.js/)
* [jscolors](http://jscolor.com/)
* [jQuery File Uploader](https://github.com/danielm/uploader)
@@ -4,25 +4,25 @@ Install apache and mod_wsgi for python 3

sudo apt-get install apache2 libapache2-mod-wsgi-py3

Copy `planet.template.wsgi` to planet.wsgi and add the correct paths.
Copy `conekt.template.wsgi` to conekt.wsgi and add the correct paths.

WSGI_PATH = 'location of your app'
WSGI_ENV = 'location of activate_this.py, in the bin folder of the virtual environment'

Configure apache, example below can be added to the default VirtualHost. A valid user (non-admin) is required for this:
Configure apache, example below can be added to the default VirtualHost. A valid user (non-admin), usually www-data, is required for this:

# This part is optional, but will improve speed
Alias /planet/static /path/to/planet/planet/static
Alias /planet/static /path/to/conekt/conekt/static

<Directory /path/to/planet/planet/static>
<Directory /path/to/conekt/conekt/static>
Require all granted
</Directory>

# Set up WSGI
WSGIDaemonProcess application user=user group=user threads=5
WSGIScriptAlias /planet /path/to/planet.wsgi
WSGIScriptAlias /planet /path/to/conekt.wsgi

<Location /planet>
<Location /conekt>
WSGIProcessGroup application
WSGIApplicationGroup %{GLOBAL}
Require all granted

0 comments on commit 066bddc

Please sign in to comment.
You can’t perform that action at this time.