37 lines
513 B
Markdown
37 lines
513 B
Markdown
|
|
|
|
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
|
|
|
|
```
|
|
|