Merge pull request #865 from n0mer/patch-1

doc update - how to install Predis dependency
This commit is contained in:
Graham Campbell 2015-08-03 18:42:10 +01:00
commit 11cf7ef2c8

View File

@ -112,6 +112,14 @@ Run Cachet:
$ docker run -d --name cachet --link mysql:mysql -p 80:8000 -e DB_HOST=mysql -e DB_DATABASE=$DB_DATABASE -e DB_USERNAME=$DB_USERNAME -e DB_PASSWORD=$DB_PASSWORD cachethq/cachet:latest
```
Install Redis client library for PHP (optional step)
If you set `CACHE_DRIVER`, `SESSION_DRIVER` or `QUEUE_DRIVER` to `redis`:
```bash
$ docker exec -i cachet php composer.phar require predis/predis
```
Now go to `http://<ipdockerisboundto>/setup` and have fun!
Note: When running in production you should ensure that you enable SSL.