Microauth is the authentication module for the microserv project. We use OAuth2 as authentication, with great help from oauthlib and django-oauth-toolkit.
TL;DR: This is a regular Django project, so follow the regular Django startup guides for getting the project running.
Let's make sure we're up to date with upstream git repository, install any new requirements and migrate any database changes.
- [clone|fetch|pull|merge] this repository
- Install project dependencies from requirements.txt
python manage.py migrate
cd apps/authentication/static/js/
,npm install .
- This installs node modules required for transpiling ReactJS code.- Make sure the requirements specified in package.json (in the project root folder) is in your PATH. (Quickfix: install them globally by
npm install -g <packages>
) python manage.py runserver
(Yes, it's step #10 - that makes it easy to add steps in before it without renaming the step number)
Let's move this section to the Wiki whenever we get enough content in it?
TODO. For now, read https://django-oauth-toolkit.readthedocs.org/en/latest/tutorial/tutorial_01.html.