From 056840eda3a934b37fbda5cf99c4f5258677408a Mon Sep 17 00:00:00 2001 From: Andrew Woodward Date: Thu, 16 Apr 2015 17:05:54 -0700 Subject: [PATCH] Fix up the markup in README --- README.md | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 3caca59e..47ff4431 100644 --- a/README.md +++ b/README.md @@ -2,11 +2,14 @@ * Install virtualbox * Install vagrant * Setup environment + ``` $ cd fuel-ng $ vagrant up ``` + * Login into vm, the code is available in /vagrant directory + ``` $ vagrant ssh $ solar --help @@ -14,26 +17,33 @@ $ solar --help ## Solar usage * discover nodes, with standard file based discovery + ``` solar discover ``` + * create profile (global config) + ``` solar profile --create --id prf1 --tags env/test_env + ``` * assign nodes to profile with tags -``` -# edit nodes files, in the future we want to provide -# some cli in order to change the data + +* edit nodes files, in the future we want to provide + some cli in order to change the data + +``` vim tmp/storage/nodes-id.yaml - -# add 'env/test_env' in tags list ``` + +* add `env/test_env` in tags list * in order to assign resouce to the node use the same the same method, i.e. add in tags list for node your service e.g. - 'service/docker' + `service/docker`, `service/mariadb` * perform deployment + ``` solar configure --profile prf1 -pa run ```