Skip to content

pythonghana/PythonGhana

Folders and files

NameName
Last commit message
Last commit date

Latest commit

8d24d23 · Apr 11, 2020

History

31 Commits
Feb 6, 2020
Feb 6, 2020
Feb 12, 2020
Feb 15, 2019
Feb 7, 2020
Feb 15, 2019
Feb 18, 2019
Feb 6, 2020
Feb 6, 2020
Feb 15, 2019
Apr 11, 2020
Apr 11, 2020
Apr 5, 2020
Feb 12, 2020
Feb 12, 2020
Feb 7, 2020
Feb 18, 2019
Feb 15, 2019
Feb 15, 2019
Feb 18, 2019
Feb 6, 2020
Feb 6, 2020

Repository files navigation

This is the source code for the http://pythonghana.org/ website.

Running the site locally

Requirments

Installation

  • Follow the guide here on how to clone or fork a repo

  • Follow the guide here on how to create virtualenv

  • Create a virtualenv (example myvenv) and activate it (see Code below).

    source virtualenvwrapper.sh
    
    mkvirtualenv myvenv --python=/usr/bin/python3.5
    
    (myvenv) $ pip install -r requirements.txt
    
    (myvenv) $ python manage.py migrate
    
    (myvenv) $ python manage.py makemigrations
    
    (myvenv) $ python manage.py runserver
    
  • Copy the IP address provided once your server has completed building the site. (It will say something like >> Serving at 127.0.0.1....).

  • Open the address in the browser

  • Note: It is important that when you create your virtualenv, do not create it in the same folder as the code you downloaded.

Contributing

Read our Contributing Guide on how to contribute to the project.