/thermostat-reverb

Demo of a Laravel Reverb powered temperature widget, with a twist!

Primary LanguagePython

Quickstart!

Setup

Install Redis or another (ideally in-memory) cache backend and configure it in your .env file.

Install composer dependencies:

composer install

Install NPM dependencies:

npm install

Copy .env.example to .env and set your environment variables:

cp .env.example .env

Generate an application key:

php artisan key:generate

Run the database migrations:

touch database/database.sqlite
php artisan migrate

Run one-time Reverb setup:

php artisan reverb:install

Run it

Run Reverb websocket server:

php artisan reverb:start --debug

Run the web server:

php artisan serve

Run Vite:

npm run dev

Run a queue listener:

php artisan queue:listen