Skip to content

Commit

Permalink
Fix bootstrap 4 compatibility, Video call answer, timeago issues
Browse files Browse the repository at this point in the history
  • Loading branch information
wqqas1 committed Oct 16, 2018
1 parent 7a8779c commit b56eb71
Show file tree
Hide file tree
Showing 12 changed files with 38,285 additions and 27,080 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,18 @@ Install the JavaScript dependencies:
composer install
php artisan key:generate
php artisan migrate --seed
php artisan storage:link
```
change APP_URL in .env
change BROADCAST_DRIVER=redis in .env
Uncomment App\Providers\BroadcastServiceProvider in the providers array of your config/app.php configuration file
If you are running the Socket.IO server on the same domain as your web application, you may access the client library like

```javascript
<script src="//{{ Request::getHost() }}:6001/socket.io/socket.io.js"></script>
```

Finally, you will need to run a compatible Socket.IO server. Use tlaverdure/laravel-echo-server GitHub repository.

[laravel-video-chat](https://github.com/Wqqas1/laravel-video-chat)

Expand Down
Binary file added dump.rdb
Binary file not shown.
22 changes: 11 additions & 11 deletions laravel-echo-server.json
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
{
"authHost": "http://192.168.10.2:8000",
"apiOriginAllow":{
"allowCors" : true,
"allowOrigin" : "http://127.0.0.1",
"allowMethods" : "GET, POST",
"allowHeaders" : "Origin, Content-Type, X-Auth-Token, X-Requested-With, Accept, Authorization, X-CSRF-TOKEN, X-Socket-Id"
},
"authHost": "http://127.0.0.1:8000",
"apiOriginAllow": {
"allowCors": true,
"allowOrigin": "http://127.0.0.1",
"allowMethods": "GET, POST",
"allowHeaders": "Origin, Content-Type, X-Auth-Token, X-Requested-With, Accept, Authorization, X-CSRF-TOKEN, X-Socket-Id"
},
"authEndpoint": "/broadcasting/auth",
"clients": [
{
"appId": "81110a9da500a734",
"key": "b4f0effe8edc41963ba533939e37cba4"
"appId": "288042e975cb0b61",
"key": "f85e150e7c5d09f9ca84d23842fdbdaf"
}
],
"database": "redis",
"databaseConfig": {
"redis" : {
"redis": {
"port": "6379",
"host": "localhost"
},
},
"sqlite": {
"databasePath": "/database/laravel-echo-server.sqlite"
},
Expand Down
Loading

0 comments on commit b56eb71

Please sign in to comment.