Skip to content

Commit 5fc566c

Browse files
committed
Updated retrieved lost docs about environment commands
1 parent 5852e9f commit 5fc566c

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

docs/usage.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,3 +63,24 @@ Test the required images
6363
If you need to test if the images you are using are following every constraint you would expect:
6464

6565
`kloud image:test`
66+
67+
Environment commands
68+
---
69+
70+
After `kloud stack:init`, you can use several environment commands to do several things on a remote server
71+
72+
* `kloud environment:init`: Initialize the environment file in local workspace.
73+
* `kloud environment:variable:add`: Add an environment variable.
74+
* `kloud environment:variable:unset`: Unset an environment variable value.
75+
* `kloud environment:variable:get`: Print an environment variable value.
76+
* `kloud environment:variable:set`: Change an environment variable value.
77+
* `kloud environment:variable:list`: Print the list of environment variables and their value.
78+
* `kloud environment:deploy`: Deploy the application to a remote server using rsync and initialize docker services.
79+
* `kloud environment:destroy`: Destroy the docker infrastructure with associated volumes and remove remote directory.
80+
* `kloud environment:start`: Start docker services on the remote server.
81+
* `kloud environment:stop`: Stop docker services on the remote server.
82+
* `kloud environment:rsync`: Synchronize remote directory according to local directory.
83+
* `kloud environment:cache:clear`: SClear cache and restart FPM service.
84+
* `kloud environment:database:dump`: Dump the database in the current state.
85+
* `kloud environment:database:load`: Load a database dump.
86+
* `kloud environment:shell`: Start a shell session for a service.

0 commit comments

Comments
 (0)