https://github.com/PyConPune/pune.pycon.org
https://github.com/PyConPune/pune.pycon.org
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/PyConPune/pune.pycon.org
- Owner: PyConPune
- License: mit
- Created: 2016-10-25T07:31:26.000Z (about 9 years ago)
- Default Branch: development
- Last Pushed: 2017-12-21T06:15:05.000Z (almost 8 years ago)
- Last Synced: 2024-11-03T10:33:15.480Z (about 1 year ago)
- Language: HTML
- Size: 17.9 MB
- Stars: 16
- Watchers: 10
- Forks: 28
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
PyCon Pune 2018
===============
# Development Environment
To setup the development environment follow these steps:
1. First [install virtualenv](https://virtualenv.pypa.io/en/stable/installation/).
```bash
# For Ubuntu
sudo apt install python3-pip
pip3 install virtualenv
# For Fedora
sudo dnf install python3-pip
pip3 install virtualenv
```
2. Then create a virtualenv using
```bash
mkdir ~/.virtualenvs
virtualenv --python=`which python3` ~/.virtualenvs/pycon
```
3. Then activate this virtualenv, you have to do this everytime you start
working on the project
```
source ~/.virtualenvs/pycon/bin/activate
```
4. 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
```
5. To install Django and all the packages related to this project
```
pip install -r requirements.txt
```
6. Once all the packages are installed you will need to setup the django database:
```
python3 manage.py migrate
```
7. Running the django server:
```
python3 manage.py runserver
```
8. Visit `http://127.0.0.1:8000/` on your browser and start working