-
Create and activate virtual environment
pipenv --python 3.10 pipenv shell
-
Install django
pipenv install django
-
Start project using this template, ensuring to replace
ian_test_proj
with the appropriate project name on the command below:django-admin startproject --template https://github.com/Impact-Africa-Network/ian-django-template/archive/main.zip ian_test_proj .
-
Rename all the
.template
files by removing the.template
extensions -
Copy the contents of
env.template
to.env
cp env.template .env
-
Populate the
.env
with real values. -
Setup your database
sudo -u postgres psql > create database ian_merch; > create role ian with password 'ian'; > alter role ian with login; > grant all on database ian_merch to ian;
-
Make migrations
./manage.py makemigrations ./manage.py migrate
-
Notifications
You must be signed in to change notification settings - Fork 1
Impact-Africa-Network/ian-django-template
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
IAN Django Template
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published