Skip to content

Bindeep/api-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages