summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Alejandro <ivanalejandro0@gmail.com>2014-08-15 16:11:45 -0300
committerIvan Alejandro <ivanalejandro0@gmail.com>2014-08-15 16:11:45 -0300
commitb5c949c93c63206342ff8efadf3879b9d5f978ba (patch)
tree7a9fa5f9712ba79a4081b61822254becef2dbd52
parent8567eb735b07cc7d3f119e0396f45211744d5dd6 (diff)
Move automagic method to top.
Add the new commands for the bootstrap_develop script, Add an explanation to install the `bitmask-root` file, Split in automatic/manual sections and move automatic to the top.
-rw-r--r--docs/client/dev-environment.md75
1 files changed, 46 insertions, 29 deletions
diff --git a/docs/client/dev-environment.md b/docs/client/dev-environment.md
index 7ef8245..4db0fb3 100644
--- a/docs/client/dev-environment.md
+++ b/docs/client/dev-environment.md
@@ -1,14 +1,43 @@
@nav_title = 'Hacking'
@title = 'Setting up a development environment'
-Setting up a development environment
-====================================
+Quick start
+===========
-This document covers how to get an environment ready to contribute code
-to Bitmask.
+This document will guide you to get an environment ready to contribute code to
+Bitmask.
-Cloning the repo
-----------------
+Using an automagic script
+=========================
+
+You can use a helper script that will get you started with bitmask and all the
+related repos.
+
+1. download automagic script
+2. run it :)
+
+Commands so you can copy/paste:
+
+ $ mkdir bitmask && cd bitmask
+ $ wget https://raw.githubusercontent.com/leapcode/bitmask_client/develop/pkg/scripts/bootstrap_develop.sh
+ $ chmod +x bootstrap_develop.sh
+ $ ./bootstrap_develop.sh help # check out the options :)
+ $ ./bootstrap_develop.sh deps # requires sudo
+ $ ./bootstrap_develop.sh init ro
+ $ ./bootstrap_develop.sh helpers # requires sudo
+ $ ./bootstrap_develop.sh run
+
+This script allows you to get started, update and run the bitmask app with all
+its repositories.
+
+Note: the `deps` option is meant to be used in a Debian based Linux distro.
+
+
+Doing the work manually
+=======================
+
+Clone the repo
+--------------
> **note**
>
@@ -18,8 +47,8 @@ Cloning the repo
git clone https://leap.se/git/bitmask_client
git checkout develop
-Dependencies
-------------
+Install Dependencies
+--------------------
Bitmask depends on these libraries:
@@ -147,6 +176,15 @@ copy this file by hand:
$ sudo cp pkg/linux/polkit/se.leap.bitmask.policy /usr/share/polkit-1/actions/
+Installing the bitmask EIP helper
+---------------------------------
+
+In linux, we have a `openvpn` and `firewall` helper that is needed to run EIP.
+You need to manually copy it from `bitmask_client/pkg/linux/bitmask-root`.
+Use the following command to do so:
+
+ $ sudo cp bitmask_client/pkg/linux/bitmask-root /usr/sbin/
+
Running!
--------
@@ -156,24 +194,3 @@ If everything went well, you should be able to run your client by invoking
output, try the debug mode:
(bitmask)$ bitmask --debug
-
-
-Using automagic helper script
------------------------------
-
-You can use a helper script that will get you started with bitmask and all the related repos.
-
-1. install system dependencies
-2. download automagic script
-3. run it :)
-
-Commands so you can copy/paste:
-
- $ mkdir bitmask && cd bitmask
- $ wget https://raw.githubusercontent.com/leapcode/bitmask_client/develop/pkg/scripts/bootstrap_develop.sh
- $ chmod +x bootstrap_develop.sh
- $ ./bootstrap_develop.sh init # use help parameter for more information
-
-This script allows you to get started, update and run the bitmask app with all its repositories.
-
-Note: you need to copy the polkit file manually.