Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
updating readme
  • Loading branch information
olayinkaos committed Mar 17, 2017
1 parent 9932421 commit 84f6e96
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .env.example
Expand Up @@ -11,7 +11,7 @@ DB_DATABASE=homestead
DB_USERNAME=homestead
DB_PASSWORD=secret

BROADCAST_DRIVER=log
BROADCAST_DRIVER=pusher
CACHE_DRIVER=file
SESSION_DRIVER=file
QUEUE_DRIVER=sync
Expand Down
11 changes: 9 additions & 2 deletions readme.md
@@ -1,2 +1,9 @@
# pusher-laravel-realtime-table
Simple card game with a leaderboard to showcase how a realtime table can be created with Pusher and Laravel.
# Laravel-Pusher Card Game and Leaderboard
Simple card game with a leaderboard to showcase how a realtime table can be created with [Pusher](https://pusher.com/) and [Laravel](https://laravel.com). To test this app locally:
1. Clone this repo -- `git clone https://github.com/olayinkaos/pusher-laravel-realtime-table.git`.
2. Copy `.env.example` to `.env` and configure your local environment variables, *especially the database and pusher settings*.
3. Install all dependencies -- `composer install && npm install`
4. Generate a new application key - `php artisan key:generate`
5. Migrate the database tables and seed the database -- `php artisan migrate --seed`
6. Edit in your Pusher App Key in `resources/assets/js/bootstrap.js`.
7. Run using your local web server, or PHP's built-in option - `php artisan serve`

0 comments on commit 84f6e96

Please sign in to comment.