← Back to team overview

launchpad-reviewers team mailing list archive

[Merge] ~blr/turnip/+git/turnip:turnip-system-deps into turnip:master

 

Kit Randel has proposed merging ~blr/turnip/+git/turnip:turnip-system-deps into turnip:master with ~blr/turnip/+git/turnip:fix-rst-warnings as a prerequisite.

Commit message:
* Improve developer setup instructions.
* Add system-dependencies.txt.

Requested reviews:
  Launchpad code reviewers (launchpad-reviewers)

For more details, see:
https://code.launchpad.net/~blr/turnip/+git/turnip/+merge/294756
-- 
Your team Launchpad code reviewers is requested to review the proposed merge of ~blr/turnip/+git/turnip:turnip-system-deps into turnip:master.
diff --git a/README b/README
index 0d8528d..7b26510 100644
--- a/README
+++ b/README
@@ -72,6 +72,23 @@ the smart HTTP server to proxy to the standard pack protocol.
 Development
 ===========
 
+Setup
+-----
+
+Create a trusty container (optional)::
+
+       sudo lxc-create -t ubuntu -n turnip.trusty -- -r trusty -a amd64 -b $USER
+
+Run the following::
+
+        sudo add-apt-repository ppa:launchpad/ppa
+        sudo apt-get update
+        cat system-dependencies.txt | sudo xargs apt-get install -y --no-install-recommends
+
+
+Running
+-------
+
 Pack smart-http/ssh services can be started with:
 
     python turnipserver.py
diff --git a/system-dependencies.txt b/system-dependencies.txt
new file mode 100644
index 0000000..87b68e7
--- /dev/null
+++ b/system-dependencies.txt
@@ -0,0 +1,7 @@
+git
+make
+python-pip
+python-virtualenv
+python-dev
+libffi-dev
+libgit2-dev