Commit 09ca8093 authored by Jean Michel Rouly's avatar Jean Michel Rouly
Browse files

Updated readme file.

parent 0e753dc6
...@@ -8,35 +8,22 @@ information without unnecessarily outsourcing branding. ...@@ -8,35 +8,22 @@ information without unnecessarily outsourcing branding.
## Configuration ## Configuration
### GoConfig ### settings.py
See `/wsgi/goconfig.py.template` for configuration variables. Relocate this The settings file should already be configured acceptably. You may need to
to `/wsgi/goconfig.py` when configured properly. add a different authentication backend or database engine.
### Apache ### nginx / Apache
The host or virtualhost being used for Go must have certain WSGIScriptAlias You must configure an outside web server to properly host the static file
directives. required to run this Django app.
``` ### Python
WSGIScriptAlias /rd /srv/http/go/wsgi/redir.py
WSGIScriptAlias /index.html /srv/http/go/wsgi/index.py
WSGIScriptAlias /mylinks /srv/http/go/wsgi/mylinks.py
WSGIScriptAlias /login /srv/http/go/wsgi/login.py
WSGIScriptAlias /logout /srv/http/go/wsgi/logout.py
WSGIScriptAlias /signup /srv/http/go/wsgi/signup.py
WSGIScriptAlias /about /srv/http/go/wsgi/about.py
```
### Piwik To install the required Python modules, simply execute
Piwik analytics are optionally enabled. See `/wsgi/goconfig.py.template`
for relevant configuration values. In order to use Piwik with this service,
you will need the
[Piwik Python API](https://github.com/piwik/piwik-python-api) installed.
Use one of the following for easy setup:
``` ```
pip install piwikapi $ pip install -r requirements.txt
pip2 install piwikapi
``` ```
and you should be good to go.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment