summaryrefslogtreecommitdiffstats
path: root/docs/setting-up-dev-env.md
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2018-02-19 17:38:16 +0100
committerChristian Mollekopf <chrigi_1@fastmail.fm>2018-02-19 17:38:45 +0100
commit6ec9327081c87c8f6c48cb1fcf66dc3cd4e3dc18 (patch)
tree277e53ac59bd3f1a165373a6860003bfecae38a8 /docs/setting-up-dev-env.md
parent636d25b7635e9e9fa55384ca1df4c4bf9730ec13 (diff)
parent761a431d3d9774f12848d2c63e875523f3ededdf (diff)
downloadkube-6ec9327081c87c8f6c48cb1fcf66dc3cd4e3dc18.tar.gz
kube-6ec9327081c87c8f6c48cb1fcf66dc3cd4e3dc18.zip
Add development setup instructions
Summary: Add some development setup instructions for manual install and using docker. The docker instructions might need reviewing as I haven't been able to make it work myself. Reviewers: cmollekopf Reviewed By: cmollekopf Tags: #kube Differential Revision: https://phabricator.kde.org/D10655
Diffstat (limited to 'docs/setting-up-dev-env.md')
-rw-r--r--docs/setting-up-dev-env.md43
1 files changed, 43 insertions, 0 deletions
diff --git a/docs/setting-up-dev-env.md b/docs/setting-up-dev-env.md
new file mode 100644
index 00000000..82d823bf
--- /dev/null
+++ b/docs/setting-up-dev-env.md
@@ -0,0 +1,43 @@
1# Setting up the development environment
2
3Multiple choices are available for developing the Kube project:
4
5- Manually
6- Docker
7
8## Manually
9
10- If sink is not in you repositories:
11 - Install the dependencies of Sink:
12 - extra-cmake-modules
13 - qt5-qtbase-devel / qtbase5-dev
14 - libgit2-dev(el)
15 - lmdb-devel / liblmdb-dev
16 - readline-devel / libreadline-dev
17 - libcurl-dev(el)
18 - kf5-kimap
19 - kf5-kimap-devel
20 - [KAsync](https://github.com/KDE/kasync/releases)
21 - Install Sink
22- Install the Kube project:
23 - `mkdir build && cd build && cmake .. && make && sudo make install`
24
25If you did not install sink in the `/usr` directory, you might need to set the
26`QT_PLUGIN_PATH` variable to something like this:
27`$SINK_INSTALL_PREFIX/lib/plugins`.
28
29In the same way, if did not install Kube in the `/usr` directory, you might
30need to set the `QML2_IMPORT_PATH` to something like this:
31`$KUBE_INSTALL_PREFIX/lib/qml/`.
32
33## Docker
34
35- Go to the `docker` directory
36- In the `run.sh` script, set the SOURCEDIR, BUILDDIR and INSTALLDIR variables
37 to an existing path containing respectively the source, build and
38 installation directory of kube. The build and installation directory can be
39 empty at first.
40- Run the `./build.sh` script
41- Run the `./run.sh` script
42- In the now opened container shell, run `cmake -DCMAKE_INSTALL_PREFIX=/install /src`
43- Run `make install`