Skip to content

ikramdeveloper/django-bootstrap-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django & Bootstrap Project

One page bootstrap template with django user authentication

Configured for both sqlite3 & postgresql

Create virtual environment (On windows):

python -m venv <path>

Activate virtual environment (On windows):

Using bash:

source <venv>/Scripts/activate

Using CMD:

<venv>\Scripts\activate.bat

Using Powershell:

<venv>\Scripts\Activate.ps1

Deactivate virtual environment

deactivate

Create text file listing all your project dependencies

pip freeze > requirements.txt

Install all dependencies in requirements.txt file

pip install -r requirements.txt

Start django project

Activate virtual environment and first install django (if not installed with the previous command)

pip install django

Create django project using django-admin

django-admin startproject <project name>

Create django app

Move to root directory (root directory means the directory that contains manage.py file) and create app using manage.py

python manage.py startapp <app name>

Create django admin

python manage.py createsuperuser

Make migrations

python manage.py makemigrations

Migrate to database

python manage.py migrate

Seed dummy data into database

python manage.py loaddata feature.json

feature.json is a file inside fixtures directory in app


Bootstrap template used in this project: View on bootstrapmade.com


Author Links

👋 Hello, I'm Ikram Ul Haq - Web Developer & Programmer

Buy Me A Coffee

🚀 Follow Me:

About

Bootstrap template with Django user authentication

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published