Skip to content

DataTalksClub/website-django

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DTC website in Django

Running it locally

Installing dependencies

Install pipenv:

pip install pipenv

Install the dependencies:

pipenv install

Activate virtual env:

pipenv shell

Running the service

cd dtc
python manage.py runserver

Docker

docker run -it \
  -e POSTGRES_USER="root" \
  -e POSTGRES_PASSWORD="root" \
  -e POSTGRES_DB="dtc_db" \
  -v dtc_postgres:/var/lib/postgresql/data \
  -p 5432:5432 \
  postgres:13