Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Python HTML CSS JavaScript Shell
Branch: master

Merge pull request #22 from smajda/smajda/django18

Django 1.8 and Ansible playbook
latest commit 417b05acf8
@lgw4 lgw4 authored
Failed to load latest commit information.
AUTHORS Switched to "official" debian/jessie64 box.
README.markdown Merge pull request #22 from smajda/smajda/django18
Vagrantfile Initial ansible playbook.



Join the chat at

Files for the website.

Development Quickstart Option 1 (vagrant)

First, copy pythonkc_site/.env.example to pythonkc_site/.env and add your own meetup api key and a unique django secret key (.env will be ignored by git)

Then you have to install some vagrant plugins and build your vagrant box:

vagrant plugin install vagrant-hostmanager
vagrant plugin install vagrant-hostsupdater
vagrant up

vagrant up will run which runs ansible on the VM.

We've done this so you don't have to install ansible on your local machine.

If you'd prefer you can always ssh in and run/re-run the provisioner manually (the output is a little nicer this way):

vagrant ssh
cd ~/vagrant/ansible
ansible-playbook vagrant.yml

To run the Django development server:

vagrant ssh
django-admin runserver

Now go to in your browser. You can edit the files on your local machine and the server should reload automatically.

For now, this is a Python 2 project. If you want to start using Python 3 and help us fix our problems, set Ansible's python_version variable to 3 and it will build the virtualenv using Python 3:

ansible-playbook vagrant.yml -e python_version=3

Development Quickstart Option 2 (virtualenv)

mkvirtualenv pythonkc
git clone
pip install -r requirements/project.txt
python runserver

Profit! $$$

More Detailed Instructions

See: docs/local_development

Something went wrong with that request. Please try again.