add doc
This commit is contained in:
parent
9c77ae9d2c
commit
a7807f089c
1 changed files with 37 additions and 0 deletions
37
doc/execute.md
Normal file
37
doc/execute.md
Normal file
|
@ -0,0 +1,37 @@
|
||||||
|
|
||||||
|
|
||||||
|
It is how you can describe config of your server
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
```ruby
|
||||||
|
user :artur
|
||||||
|
user :lucyna
|
||||||
|
|
||||||
|
service :forgejo do |context|
|
||||||
|
context.home_page = true
|
||||||
|
# per default all users are allowed
|
||||||
|
context.users = [:artur]
|
||||||
|
end
|
||||||
|
|
||||||
|
service :zulip
|
||||||
|
|
||||||
|
# this should be already installed, becouse it is required by others
|
||||||
|
service :postgresql
|
||||||
|
|
||||||
|
install :nvim, :python
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
And then save it as `Configfile` as default or with specyfic name
|
||||||
|
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# if default file name
|
||||||
|
dat execute
|
||||||
|
|
||||||
|
# if non standard file
|
||||||
|
dat execute file-name
|
||||||
|
|
||||||
|
```
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue