Merge pull request #48 from kuba/virtualenv-setup

Virtualenv setup. Fixes #41.
This commit is contained in:
James Kasten 2014-11-21 13:31:21 -08:00
commit cc693fbc20
2 changed files with 8 additions and 5 deletions

1
.gitignore vendored
View file

@ -2,4 +2,5 @@
*.egg-info
build/
dist/
venv/
m3

View file

@ -9,11 +9,13 @@ Apache, though we will be expanding it to other platforms.
## Running the demo code on Ubuntu
`sudo apt-get install python python-setuptools python-dev python-augeas gcc swig dialog`
`python setup.py install --user`
`sudo ./letsencrypt.py` (or `~/.local/bin/letsencrypt`)
```
sudo apt-get install python python-setuptools python-virtualenv \
python-dev python-augeas gcc swig dialog
virtualenv --system-site-packages venv
./venv/bin/python setup.py install
sudo ./venv/bin/letsencrypt
```
Note, that letsencrypt does not yet handle Debian unstable's Apache2
conf layout.