Skip to content

This repo is a demo for my talk @ PyCon Africa 2020 on Building production worthy application with Django.

Notifications You must be signed in to change notification settings

Emmarex/PyconAfrica2020

Repository files navigation

PyConAfrica 2020 - Building production-worthy websites with Django

Build Status

Getting started

  1. Clone this application - git clone https://github.com/Emmarex/PyconAfrica2020.git

  2. Install and configure virtualenv

pip install --upgrade pip

pip install virtualenv

virtualenv env

# or specify python path

virtualenv --python=/usr/local/bin/python3 env

# activate the virtual environment

source env/bin/activate
  1. Install project dependencies.
# switch to project directory

cd PyconAfrica2020

pip install -r requirements.txt
  1. Edit init_env.sh

  2. Set required environment variables

chmod +x init_env.sh

sh init_env.sh
  1. [OPTIONAL- Compulsory for production settings only] Follow the steps here to configure Google Cloud Storage.

  2. Make migrations and start the application

python manage.py makemigrations && python manage.py migrate

python manage.py runserver

About

This repo is a demo for my talk @ PyCon Africa 2020 on Building production worthy application with Django.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published