Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
updating readme
- Loading branch information
1 parent
9932421
commit 84f6e96
Showing
2 changed files
with
10 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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` |