Update details in readme

This commit is contained in:
Alexander Pankratov 2020-07-01 22:39:13 +03:00
parent 71c56b053c
commit b9667f32d7

View File

@ -140,10 +140,14 @@ Fast, simple, async php telegram api server:
1. View/control processes: `supervisorctl` 1. View/control processes: `supervisorctl`
## Update ## Update
* `git fetch && git reset --hard origin/master` * `git pull` or `git fetch && git reset --hard origin/master`
* `composer install -o --no-dev` * `composer install -o --no-dev`
* Compare `.env.docker` or `.env` with corresponding `.env.example`. Update if needed. * Compare `.env.docker` or `.env` with corresponding `.env.example`. Update if needed.
* `docker-compose restart` or `supervisorctl restart telegram_api_server` * Docker:
* `docker-compose pull`
* `docker-compose down`
* `docker-compose up`
* Manual: `supervisorctl restart telegram_api_server`
## Advanced features ## Advanced features
### Uploading files. ### Uploading files.