Sheliak is an open-source Single-Sign-On authentication service and application. It is built using Django, React and GraphQL.
This project is an extension of django-graphql-auth and the documentation can be found here.
- Added administration UI.
- Capability to run on Lyrid Platform.
- Included sample client implementation.
Follow these steps to set up the Sheliak project on your local environment:
-
Install Node.js dependencies:
Navigate to the
root
directory and run the following commands:yarn install yarn build-emails
-
Install Python dependencies:
Use pip to install the Python requirements:
pip install -r requirements.txt --default-timeout=100 future
-
Database Setup:
Run migrations to set up the database schema:
python manage.py migrate
-
Create Superuser:
Create a superuser for the Django administration:
python manage.py createsuperuser
-
Verify Installation:
Start the development server:
python manage.py runserver
Then open a browser and navigate to
http://127.0.0.1:8000/admin/
. You should be able to log in using the superuser credentials you created earlier. Remember to logout after checking. -
Frontend Setup:
Go to the
frontend
directory and install the required dependencies:yarn install
Build the frontend:
yarn build
-
Generate Static Files:
Finally, generate static files for Django. This will ensure that your Django admin will still work when
DEBUG
is set toFalse
:python manage.py collectstatic
This completes the setup for the Sheliak project.