Simple URL shortener for intranet/personal use.


Installation instructions
==============================================================================

1. Create a python virtual environment with virtualenv:

        virtualenv ENV

2. Activate the newly created virtual environment:

        source ENV/bin/activate

3. Install dependencies:

        pip install -r PIP_REQUIREMENTS

4. Configure apache2 through mod\_wsgi:

        <VirtualHost *:80>
          [...your configuration here...]
          WSGIDaemonProcess shurl user=www-data group=www-data threads=3
          WSGIScriptAlias / /path/to/shurl/shurl.wsgi
          <Directory /path/to/shurl>
            WSGIProcessGroup shurl
            WSGIApplicationGroup %{GLOBAL}
            Order deny,allow
            Allow from all
          </Directory>
        </VirtualHost>

5. If you didn't use `ENV` as the name for the python's virtual environment,
   change it in `shurl.wsgi`


License
==============================================================================

This software is distributed under the BSD license. See the LICENSE file
for more informations.

Simple URL shortener for intranet/personal use.


Installation instructions
==============================================================================

1. Create a python virtual environment with virtualenv:

        virtualenv ENV

2. Activate the newly created virtual environment:

        source ENV/bin/activate

3. Install dependencies:

        pip install -r PIP_REQUIREMENTS

4. Use either apache2 configured with mod\_wsgi:

        <VirtualHost *:80>
          [...your configuration here...]
          WSGIDaemonProcess shurl user=www-data group=www-data threads=3
          WSGIScriptAlias / /path/to/shurl/shurl.wsgi
          <Directory /path/to/shurl>
            WSGIProcessGroup shurl
            WSGIApplicationGroup %{GLOBAL}
            Order deny,allow
            Allow from all
          </Directory>
        </VirtualHost>

   Or run it through gunicorn:

        gunicorn shurl:app

5. If you didn't use `ENV` as the name for the python's virtual environment,
   change it in `shurl.wsgi`


License
==============================================================================

This software is distributed under the BSD license. See the LICENSE file
for more informations.
Include instructions on how to start the process with gunicorn
Include instructions on how to start the process with gunicorn
