The RethinkDB is an open-source Database for Real-time Web ([RethinkDB](https://rethinkdb.com/)).
A package ([Laravel RethinkDB](https://github.com/duxet/laravel-rethinkdb)) is being developed and was released a version for Laravel 5.2 (experimental).
1 - Run the RethinkDB Container (`rethinkdb`) with the `docker-compose up` command.
```bash
docker-compose up -d rethinkdb
```
2 - Add the RethinkDB configurations to the `config/database.php` configuration file:
```php
'connections'=>[
'rethinkdb'=>[
'name'=>'rethinkdb',
'driver'=>'rethinkdb',
'host'=>env('DB_HOST','rethinkdb'),
'port'=>env('DB_PORT',28015),
'database'=>env('DB_DATABASE','test'),
]
// ...
],
```
3 - Open your Laravel's `.env` file and update the following variables:
- set the `DB_CONNECTION` to your `rethinkdb`.
- set the `DB_HOST` to `rethinkdb`.
- set the `DB_PORT` to `28015`.
- set the `DB_DATABASE` to `database`.
<br>
<br>
<aname="debugging"></a>
<aname="debugging"></a>
...
@@ -1504,6 +1543,7 @@ For special help with Docker and/or Laravel, you can schedule a live call with t
...
@@ -1504,6 +1543,7 @@ For special help with Docker and/or Laravel, you can schedule a live call with t