summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorPaul Sherwood <paul.sherwood@codethink.co.uk>2016-04-08 22:36:29 +0100
committerPaul Sherwood <paul.sherwood@codethink.co.uk>2016-04-08 22:41:39 +0100
commitaf79188446e85ab05c4616c0a0ce7152ed2fc17f (patch)
tree9661091b244ac463786baa76bd685227a1368a82 /docs
parentb624ff1257110a67373101d7c8c0d321e3a1c0ca (diff)
downloadybd-af79188446e85ab05c4616c0a0ce7152ed2fc17f.tar.gz
[ci skip] readme fixes, quick-start via install_dependencies.sh
Diffstat (limited to 'docs')
-rw-r--r--docs/dependencies.md38
1 files changed, 38 insertions, 0 deletions
diff --git a/docs/dependencies.md b/docs/dependencies.md
new file mode 100644
index 0000000..9001b00
--- /dev/null
+++ b/docs/dependencies.md
@@ -0,0 +1,38 @@
+## dependencies
+
+ybd requires git, gcc, make, autotools, python, tar, wget. note that the Baserock definitions also require gawk.
+
+so for a Debian-based system:
+
+ apt-get update; apt-get install build-essential gawk git m4
+
+...and a Fedora-based system:
+
+ yum install make automake gcc gcc-c++ kernel-devel git gawk m4
+
+ybd also depends on [pyfilesystem](http://pyfilesystem.org),
+[pyyaml](http://pyyaml.org/wiki/PyYAML),
+[sandboxlib](https://github.com/CodethinkLabs/sandboxlib),
+[requests](https://github.com/kennethreitz/requests),
+and optionally [jsonschema](https://github.com/Julian/jsonschema).
+
+to serve artifacts using kbas, it additionally requires
+[bottle](https://github.com/bottlepy/bottle) and optionally
+[cherrypy](https://github.com/cherrypy/cherrypy.git)
+
+to use the Riemann functionality, it additionally requires
+[riemann-client](https://github.com/borntyping/python-riemann-client)
+
+if you trust the Python Package Index (PyPI) and pip is available on your
+machine, you can install these dependencies with:
+
+```
+ pip install fs pyyaml sandboxlib requests jsonschema bottle cherrypy riemann-client
+```
+
+If you need to install pip itself:
+
+```
+ wget https://bootstrap.pypa.io/get-pip.py
+ python get-pip.py
+```