Installation on Debian/Ubuntu

The RestAuth project provides APT repositories for all software it maintains. Repositories are available for all distributions that are currently maintained by the Debian project and Canonical respectively.

Note

Repositories for older distributions may contain older versions of RestAuth. If you use an older distribution, install the restauth-doc package to get documentation for the specific version of RestAuth.

Adding our APT repository

To add the repositories, simply add this line to your /etc/apt/sources.list file:

deb http://apt.fsinf.at <dist> restauth

... where <dist> is any of the supported distributions. At the time of writing, possible values are lucid, oneiric, precise, squeeze or wheezy. Please see the WikiPedia pages for Ubuntu and Debian to see how they map to your installation. You can also check the APT repository itself for a list of available distributions (don’t forget to check the ‘Last modified’ timestamp!).

Once you added the repository, you have to install the fsinf GPG keyring used for signing the repositories, so you won’t get any warnings when updating. You can either install the fsinf-keyring package using:

apt-get update
apt-get install fsinf-keyring
apt-get update

or download and add the key directly using:

wget -O - http://packages.spectrum.im/keys/apt-repository@fsinf.at | apt-key add -
apt-get update

Install RestAuth

Once you have added the repositories, installing RestAuth is as simple as

apt-get install restauth

Your settings-file is located at /etc/restauth/settings.py, the WSGI file is located at /usr/share/pyshared/RestAuth/RestAuth/wsgi.py and all command-line scripts will be in /usr/bin (so you can just execute e.g. restauth-manage).

Next steps

Now that you have installed RestAuth, you still need to

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

Updating the source

You can update the source code with the regular process:

apt-get update
apt-get install restauth

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

Table Of Contents

Previous topic

Installation with pip

Next topic

Installation on Red Hat Enterprise Linux (RHEL)

This Page