mirror of
https://codeberg.org/gigirassy/stack.git
synced 2026-08-30 15:27:39 +00:00
Update README.md
This commit is contained in:
@@ -10,24 +10,30 @@ make a stack.conf in your home folder that contains just this. (ie /home/user/st
|
|||||||
|
|
||||||
**replace user with your user's name.**
|
**replace user with your user's name.**
|
||||||
|
|
||||||
``STACK_HOME=/home/user``
|
```
|
||||||
|
STACK_HOME=/home/user
|
||||||
|
```
|
||||||
|
|
||||||
then, copy ``stack`` to somewhere in your user's path. ``chmod +x`` it.
|
then, copy ``stack`` to somewhere in your user's path. ``chmod +x`` it.
|
||||||
|
|
||||||
after, containers with compose file can be added for mass control with your shell.
|
after, containers with compose file can be added for mass control with your shell.
|
||||||
|
|
||||||
``stack add FOLDERNAME`` will add ``/home/user/FOLDERNAME`` to your stack.conf. this also applies for folders in nested paths.
|
``stack add FOLDERNAME`` will add ``/home/user/FOLDERNAME`` to your stack.conf. this also applies for folders in nested paths.
|
||||||
|
|
||||||
you can also add your current folder. let's say you're in /home/user/pizza. you got a compose.yml there. you add it to stack with ``stack add .``.
|
you can also add your current folder. let's say you're in /home/user/pizza. you got a compose.yml there. you add it to stack with ``stack add .``.
|
||||||
|
|
||||||
depending on shell, you can add folders to stack.conf in bulk.
|
depending on shell, you can add folders to stack.conf in bulk.
|
||||||
|
|
||||||
for zsh: ``stack add {beep,boop}``.
|
for zsh: ``stack add {beep,boop}``.
|
||||||
|
|
||||||
after, your stack.conf will look like:
|
after, your stack.conf will look like:
|
||||||
``STACK_HOME=/home/user
|
```
|
||||||
|
STACK_HOME=/home/user
|
||||||
/home/user/FOLDERNAME
|
/home/user/FOLDERNAME
|
||||||
/home/user/pizza
|
/home/user/pizza
|
||||||
/home/user/beep
|
/home/user/beep
|
||||||
/home/user/boop
|
/home/user/boop
|
||||||
``
|
```
|
||||||
|
|
||||||
now that you got a stack, you can easily start your stack.
|
now that you got a stack, you can easily start your stack.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user