Virtualenv setup. Fixes $41.

This commit is contained in:
Jakub Warmuz 2014-11-21 17:45:13 +01:00
parent ecff61a193
commit 3ce1679717
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.