Skip to content

Commit f1db046

Browse files
committed
#12 : Add doc to README.md
1 parent 4bc7a60 commit f1db046

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

Diff for: README.md

+21-1
Original file line numberDiff line numberDiff line change
@@ -112,13 +112,33 @@ If you need to build the images you need in a stack, you can execute the followi
112112
`kloud image:build`
113113

114114
To enable experimental images, you will need to add option `--with-experimental`.
115-
115+
116116
### Test the required images
117117

118118
If you need to test if the images you are using are following every constraint you would expect:
119119

120120
`kloud image:test`
121121

122+
### Environment commands
123+
124+
After `kloud stack:init`, you can use several environment commands to do several things on a remote server
125+
126+
* `kloud environment:init`: Initialize the environment file in local workspace.
127+
* `kloud environment:variable:add`: Add an environment variable.
128+
* `kloud environment:variable:unset`: Unset an environment variable value.
129+
* `kloud environment:variable:get`: Print an environment variable value.
130+
* `kloud environment:variable:set`: Change an environment variable value.
131+
* `kloud environment:variable:list`: Print the list of environment variables and their value.
132+
* `kloud environment:deploy`: Deploy the application to a remote server using rsync and initialize docker services.
133+
* `kloud environment:destroy`: Destroy the docker infrastructure with associated volumes and remove remote directory.
134+
* `kloud environment:start`: Start docker services on the remote server.
135+
* `kloud environment:stop`: Stop docker services on the remote server.
136+
* `kloud environment:rsync`: Synchronize remote directory according to local directory.
137+
* `kloud environment:cache:clear`: SClear cache and restart FPM service.
138+
* `kloud environment:database:dump`: Dump the database in the current state.
139+
* `kloud environment:database:load`: Load a database dump.
140+
* `kloud environment:shell`: Start a shell session for a service.
141+
122142
Frequently Asked Questions
123143
---
124144

0 commit comments

Comments
 (0)