From 3ce16797176d5355c6ab0fece27ab007ea2e8179 Mon Sep 17 00:00:00 2001 From: Jakub Warmuz Date: Fri, 21 Nov 2014 17:45:13 +0100 Subject: [PATCH] Virtualenv setup. Fixes $41. --- .gitignore | 1 + README.md | 12 +++++++----- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index e06399ff4..ced995972 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,5 @@ *.egg-info build/ dist/ +venv/ m3 diff --git a/README.md b/README.md index 7b33ce8dd..e394db0d7 100644 --- a/README.md +++ b/README.md @@ -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.