Installation with pip

RestAuth is also also included in PyPI. That makes it very easy to install this library using pip and virtualenv:

virtualenv RestAuth
cd RestAuth
source bin/activate
pip install RestAuth

All non-source files are installed into RestAuth/. The configure RestAuth, copy the example configuration file in RestAuth/config/localsettings.py.example to RestAuth/config/localsettings.py:

cp RestAuth/config/localsettings.py.example RestAuth/config/localsettings.py

Next steps

Now that you have installed RestAuth, you still need to

  1. configure your webserver
  2. configure RestAuth
  3. setup your database

Update

To update to a new release, just use pip install -U inside your virtualenv:

Warning

All changes to source files (e.g. the wsgi script) will be overwritten. If you need to make changes, copy the file to a different location first.

source bin/activate
pip install -U RestAuth

... and be sure to follow the update instructions.

Table Of Contents

Previous topic

Installation from source

Next topic

Installation on Debian/Ubuntu

This Page