♨️API Docs: Go-to swagger docs
- DRF
- Makefile
- Python pipenv
- Swagger
- clone repo
git clone <link to repo>
- Go into the folder
cd :\\path\\to\\cloned_repo
- install pipenv
pip install pipenv
- activate pipenv
make shell
- install dependencies
make install
-
Create a copy of
.env.example
and rename to.env
then fill in the values -
Run Migrations with:
make makemigrations
make migrate
make up
accessible through: http://127.0.0.1:8000/
- Create admin user with:
whilst in project directory
make py-shell
Then:
>>> from authme.models import CustomUser
>>> CustomUser.objects.create_user(email="youremail@example.com",username="johnDoe707", password="strongpassword")