Skip to content

Latest commit

 

History

History
89 lines (58 loc) · 1.16 KB

readme.md

File metadata and controls

89 lines (58 loc) · 1.16 KB

Ping CRM

A demo application to illustrate how Inertia.js works.

Installation

Clone the repo locally:

git clone https://github.com/inertiajs/pingcrm.git pingcrm
cd pingcrm

Install PHP dependencies:

composer install

Install NPM dependencies:

npm ci

Build assets:

npm run dev

Setup configuration:

cp .env.example .env

Generate application key:

php artisan key:generate

Run database migrations:

php artisan migrate

Run database seeder:

php artisan db:seed

Make sure your redis is configured correctly in order for the queues to work

Run the dev server (the output will give the address):

php artisan serve

Run the Websockets server (the output will give the address):

php artisan websockets:serve

Run multiple QUEUE WORKERs :

php artisan queue:work

You're ready to go! Visit Ping CRM in your browser, and login with:

Running tests

To run the Ping CRM tests, run:

phpunit