-
Clone this application -
git clone https://github.com/Emmarex/PyconAfrica2020.git
-
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
- Install project dependencies.
# switch to project directory
cd PyconAfrica2020
pip install -r requirements.txt
-
Edit init_env.sh
-
Set required environment variables
chmod +x init_env.sh
sh init_env.sh
-
[OPTIONAL- Compulsory for production settings only] Follow the steps here to configure Google Cloud Storage.
-
Make migrations and start the application
python manage.py makemigrations && python manage.py migrate
python manage.py runserver