Bindeep / api-template

Api template

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Api template


Languages

Language:Python 100.0%