/api-template

Api template

Primary LanguagePython

Create django project with custom user and readymade authenticated url

Pull the code from the server.
django-admin startproject --template https://github.com/Bindeep/api-template/archive/master.zip <project_name>
Create virtual Environment
python3 -m venv .venv
Activate virtual Environment
source .venv/bin/activate 
Install requirements
pip install -r requirements/dev.txt

Copy env.sample.py file and create env.py with its content inside settings folder config folder

Migrate model to database

go inside project folder and make sure environment is activated

python manage.py migrate
Create superuser
python manage.py createsuperuser

fill all inputs to create superuser

Run Server
python manage.py runserver