Skip to content

Commit 9ebb75a

Browse files
committed
docs: update configuration in readme
1 parent c413f9e commit 9ebb75a

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

README.md

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ and manage customization through messages and buttons on Telegram.
88
[![Total Downloads](https://img.shields.io/packagist/dt/cslant/laravel-telegram-git-notifier.svg?style=flat-square)](https://packagist.org/packages/cslant/laravel-telegram-git-notifier)
99
![Test Status](https://img.shields.io/github/actions/workflow/status/cslant/laravel-telegram-git-notifier/setup_test.yml?label=tests&branch=main)
1010
![Code Style Status](https://img.shields.io/github/actions/workflow/status/cslant/laravel-telegram-git-notifier/php-cs-fixer.yml?label=code%20style&branch=main)
11-
[![StyleCI](https://styleci.io/repos/656960426/shield)](https://styleci.io/repos/656960426)
11+
[![StyleCI](https://styleci.io/repos/683727144/shield)](https://styleci.io/repos/683727144)
1212
[![Quality Score](https://img.shields.io/scrutinizer/g/cslant/laravel-telegram-git-notifier.svg?style=flat-square)](https://scrutinizer-ci.com/g/cslant/laravel-telegram-git-notifier)
1313
[![Maintainability](https://api.codeclimate.com/v1/badges/7ccaccebe9cd58ff3df5/maintainability)](https://codeclimate.com/github/cslant/laravel-telegram-git-notifier/maintainability)
1414

@@ -36,3 +36,21 @@ Publication of configuration files:
3636
```bash
3737
php artisan vendor:publish --provider="CSlant\LaravelTelegramGitNotifier\Providers\TelegramGitNotifierServiceProvider" --tag="config_jsons"
3838
```
39+
40+
## Fixing Permissions (for Linux)
41+
42+
If you are using Linux, you need to change the owner of the configuration files to the web server user and group (e.g. `www-data`).
43+
44+
The configuration files will be used to store the bot's settings and other information, so you need to change the owner of the configuration files to the web server user and group.
45+
46+
```bash
47+
sudo php artisan config-json:change-owner www-data www-data
48+
```
49+
50+
> Note:
51+
> - `www-data` is the user and group of the web server, you can change it to your own user and group.
52+
> - The first `www-data` is the user, and the second `www-data` is the group. (You can also use only the first `www-data` to represent both the user and the group)
53+
54+
## 📖 Documentation
55+
56+
...In construction...

0 commit comments

Comments
 (0)