aboutsummaryrefslogtreecommitdiffstats
path: root/docs/0_Installation.md
diff options
context:
space:
mode:
authorCorentin Le Gall <corentinlgs@gmail.com>2018-07-19 15:57:30 +0200
committerCorentin Le Gall <corentinlgs@gmail.com>2018-07-24 14:42:12 +0200
commitc96df58a88b60c7501b3c8a758c0277c17088371 (patch)
tree1e982c565a4fd0ba65a382cc1cba97efe891c34b /docs/0_Installation.md
parent55673d50338f041763e6e38f38ea3fc311f2bdc1 (diff)
Changed doc to GitBook format + added doc
-Changed README.md to a complet GitBook doc. -Added explanations about EvtGrpReceived functions. -Corrected mistakes + reduced lines length. Change-Id: I1a077ddf6acb520a9158de658d3c09b12a2029d4 Signed-off-by: Corentin Le Gall <corentinlgs@gmail.com>
Diffstat (limited to 'docs/0_Installation.md')
-rw-r--r--docs/0_Installation.md37
1 files changed, 37 insertions, 0 deletions
diff --git a/docs/0_Installation.md b/docs/0_Installation.md
new file mode 100644
index 0000000..e81c718
--- /dev/null
+++ b/docs/0_Installation.md
@@ -0,0 +1,37 @@
+# Installation
+
+## Pre-requisites
+
+[Setup the pre-requisite](http://docs.automotivelinux.org/docs/devguides/en/dev/reference/host-configuration/docs/1_Prerequisites.html) then [install the Application Framework](http://docs.automotivelinux.org/docs/devguides/en/dev/reference/host-configuration/docs/2_AGL_Application_Framework.html) on your host.
+
+You will also need to install lua-devel >= 5.3 to be able to build the project.
+
+Fedora:
+
+```bash
+dnf install lua-devel
+```
+
+OpenSuse:
+
+```bash
+zypper install lua53-devel
+```
+
+Ubuntu (>= Xenial), Debian stable:
+
+```bash
+apt-get install liblua5.3-dev
+```
+
+## Grab source and build
+
+Download the **afb-test** binding source code using git:
+
+```shell
+git clone --recurse-submodules https://gerrit.automotivelinux.org/gerrit/apps/app-afb-test
+cd afb-test
+mkdir build
+cd build
+cmake .. && make
+``` \ No newline at end of file