Adding how to install and invoke.
Dev

Dev commited on 2018-06-18 00:47:01
Showing 1 changed files, with 10 additions and 0 deletions.

... ...
@@ -8,6 +8,16 @@ Things are dependent on order of execution; especially if a resource is created
8 8
 
9 9
 `apache2`, `php5`  and `libapache2-mod-php5` are installed. Then default `/var/www/html/index.html` is deleted and `/var/www/html/index.php` is dropped in its place.
10 10
 
11
+## Installation and invocation
12
+
13
+    wget http://src.devghai.com/rcm/tarball/master -O rcm.tar
14
+    mkdir rcm
15
+    tar --directory rcm -xzf rcm.tar
16
+    cd rcm
17
+    sudo ./bootstrap.sh
18
+    sudo ./task.rb 
19
+    
20
+
11 21
 ## Structure
12 22
 
13 23
 The layout of the project is as simple as it can be. All objects are in `objects` folder, while all the functions that execute on those objects, or their collection are in respective file in `managers` folder. `task.rb` is the controller and also doubles up as configuration parser and validator via `whatchugot`, `parse_packages`, `parse_files` and `parse_services`. Config parsing can be moved to its own class, but it was left as it is for this task as I tend to go into a rabbit-hole... and I need to deliver a solution asap.
14 24