/seed-auth-api

Authentication, authorization, and user store for seed applications.

Primary LanguagePythonBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

https://coveralls.io/repos/github/praekelt/seed-auth-api/badge.svg?branch=develop https://travis-ci.org/praekelt/seed-auth-api.svg?branch=develop https://requires.io/github/praekelt/seed-auth-api/requirements.svg?branch=develop https://readthedocs.org/projects/seed-auth-api/badge/?version=develop

Seed Auth API

Seed Auth API. User and permissions store, authentication and authorization.

Running

  • pip install -e .
  • psql -U postgres -c "CREATE DATABASE seed_auth;"
  • ./manage.py migrate
  • ./manage.py createsuperuser
  • ./manage.py runserver --settings=seed_auth_api.testsettings

Running tests

  • pip install -e .
  • pip install -r requirements-dev.txt
  • py.test --ds=seed_auth_api.testsettings authapi