Fix up the markup in README
This commit is contained in:
parent
0bbb208c23
commit
056840eda3
22
README.md
22
README.md
@ -2,11 +2,14 @@
|
|||||||
* Install virtualbox
|
* Install virtualbox
|
||||||
* Install vagrant
|
* Install vagrant
|
||||||
* Setup environment
|
* Setup environment
|
||||||
|
|
||||||
```
|
```
|
||||||
$ cd fuel-ng
|
$ cd fuel-ng
|
||||||
$ vagrant up
|
$ vagrant up
|
||||||
```
|
```
|
||||||
|
|
||||||
* Login into vm, the code is available in /vagrant directory
|
* Login into vm, the code is available in /vagrant directory
|
||||||
|
|
||||||
```
|
```
|
||||||
$ vagrant ssh
|
$ vagrant ssh
|
||||||
$ solar --help
|
$ solar --help
|
||||||
@ -14,26 +17,33 @@ $ solar --help
|
|||||||
|
|
||||||
## Solar usage
|
## Solar usage
|
||||||
* discover nodes, with standard file based discovery
|
* discover nodes, with standard file based discovery
|
||||||
|
|
||||||
```
|
```
|
||||||
solar discover
|
solar discover
|
||||||
```
|
```
|
||||||
|
|
||||||
* create profile (global config)
|
* create profile (global config)
|
||||||
|
|
||||||
```
|
```
|
||||||
solar profile --create --id prf1 --tags env/test_env
|
solar profile --create --id prf1 --tags env/test_env
|
||||||
|
|
||||||
```
|
```
|
||||||
* assign nodes to profile with tags
|
* 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
|
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
|
* 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.
|
method, i.e. add in tags list for node your service e.g.
|
||||||
'service/docker'
|
`service/docker`, `service/mariadb`
|
||||||
* perform deployment
|
* perform deployment
|
||||||
|
|
||||||
```
|
```
|
||||||
solar configure --profile prf1 -pa run
|
solar configure --profile prf1 -pa run
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user