Skip to content

Commit b7557e2

Browse files
committed
Merge pull request #24 from smajda/vagrant
readme/dev setup improvements
2 parents 417b05a + 29859c3 commit b7557e2

File tree

2 files changed

+18
-4
lines changed

2 files changed

+18
-4
lines changed

README.markdown

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,22 @@ Files for the PythonKC.com website.
66

77
## Development Quickstart Option 1 (vagrant)
88

9-
First, copy `pythonkc_site/.env.example` to `pythonkc_site/.env` and add
9+
We're going to use Vagrant and Virtualbox to run pythonkc.com inside a Debian
10+
VM. We're using the [shell provisioner][] to install Ansible inside our VM and
11+
then using Ansible to manage the environment from there. (Note: we're *not*
12+
using the [ansible provisioner][].)
13+
14+
First you need to install [Vagrant][] and [VirtualBox][] and clone [our
15+
repository][] from github.
16+
17+
Now copy `pythonkc_site/.env.example` to `pythonkc_site/.env` and add
1018
your own [meetup api key][] and a unique [django secret key][] (`.env` will
1119
be ignored by git)
1220

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

1523
```
24+
vagrant plugin install vagrant-vbguest
1625
vagrant plugin install vagrant-hostmanager
1726
vagrant plugin install vagrant-hostsupdater
1827
vagrant up
@@ -68,5 +77,11 @@ See: docs/local_development
6877

6978

7079

80+
[Vagrant]: https://www.vagrantup.com/downloads.html
81+
[VirtualBox]: https://www.virtualbox.org
82+
[shell provisioner]: http://docs.vagrantup.com/v2/provisioning/shell.html
83+
[ansible provisioner]: http://docs.vagrantup.com/v2/provisioning/ansible.html
84+
[our repository]: https://github.com/pythonkc/pythonkc.com
7185
[meetup api key]: https://secure.meetup.com/meetup_api/key/
7286
[django secret key]: http://www.miniwebtool.com/django-secret-key-generator/
87+

pythonkc_site/.env.example

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
1-
#!/bin/bash
2-
export MEETUP_API_KEY='your-meetup-api-key-here'
3-
export DJANGO_SECRET_KEY='django-secret-key-here'
1+
MEETUP_API_KEY='your-meetup-api-key-here'
2+
DJANGO_SECRET_KEY='django-secret-key-here'

0 commit comments

Comments
 (0)