Skip to content

Latest commit

 

History

History
51 lines (41 loc) · 1.1 KB

README.md

File metadata and controls

51 lines (41 loc) · 1.1 KB

PyCon Pune 2018

Development Environment

To setup the development environment follow these steps:

  1. First install virtualenv.
# For Ubuntu
sudo apt install python3-pip
pip3 install virtualenv

# For Fedora
sudo dnf install python3-pip
pip3 install virtualenv
  1. Then create a virtualenv using
mkdir ~/.virtualenvs
virtualenv --python=`which python3` ~/.virtualenvs/pycon
  1. Then activate this virtualenv, you have to do this everytime you start working on the project
source ~/.virtualenvs/pycon/bin/activate
  1. To start working you need to check out the development branch
git clone https://github.com/PyConPune/pune.pycon.org.git
cd pune.pycon.org
  1. To install Django and all the packages related to this project
pip install -r requirements.txt
  1. Once all the packages are installed you will need to setup the django database:
python3 manage.py migrate
  1. Running the django server:
python3 manage.py runserver
  1. Visit http://127.0.0.1:8000/ on your browser and start working