Skip to content

musonza/chat-demo

Repository files navigation

chat-demo

This is a simple demo application for https://github.com/musonza/chat/

chat

  1. Clone this repo
  2. composer install
  3. cp .env.example .env
  4. Create database and modify .env
  5. php artisan migrate
  6. php artisan key:generate
  7. npm install && npm run dev
  8. php artisan serve
  9. Create 2 user accounts in different browsers and start chatting

To use Pusher

You need to comment this out

location.reload(); // comment this out if you are broadcasting
Remove this comment