Go to file
Jonathan Reinink 6b6e235d7e Remove horizon from compile script 2019-12-18 13:33:05 -05:00
app Update to auto registering of Inertia middleware 2019-08-27 07:39:11 -04:00
bootstrap Install Laravel 2019-03-05 16:10:11 -05:00
config Install Laravel 2019-03-05 16:10:11 -05:00
database Upgrade to Laravel 6 2019-10-17 11:01:26 +01:00
public Initial commit 2019-03-21 19:58:19 -04:00
resources Make main menu reactive 2019-09-28 14:52:12 -04:00
routes Added guest middleware and changed redirect path 2019-08-15 17:47:39 +02:00
storage Initial commit 2019-03-21 19:58:19 -04:00
tests Retrieve props from inside page object 2019-04-24 13:35:16 +01:00
.editorconfig Install Laravel 2019-03-05 16:10:11 -05:00
.env.example Optimize for SQLite by default 2019-04-02 13:05:26 -04:00
.eslintrc.js Initial commit 2019-03-21 19:58:19 -04:00
.gitattributes Install Laravel 2019-03-05 16:10:11 -05:00
.gitignore Initial commit 2019-03-21 19:58:19 -04:00
LICENSE Add license 2019-04-01 13:40:03 -04:00
artisan Install Laravel 2019-03-05 16:10:11 -05:00
composer.json Remove horizon from compile script 2019-12-18 13:33:05 -05:00
composer.lock Upgrade to Laravel 6 2019-10-17 11:01:26 +01:00
package-lock.json Update npm dependencies 2019-09-28 14:54:39 -04:00
package.json Use new persistent layouts and Vue Meta plugin 2019-09-28 07:30:44 -04:00
phpunit.xml Removed duplicate SESSION_DRIVER entry in phpunit.xml 2019-04-09 12:31:53 +09:00
readme.md Use `npm ci` to avoid package-lock update 2019-11-06 01:39:47 -03:00
screenshot.png Add screenshot 2019-04-04 15:58:04 -04:00
server.php Install Laravel 2019-03-05 16:10:11 -05:00
tailwind.js Initial commit 2019-03-21 19:58:19 -04:00
webpack.mix.js Switch to query string hash for JS files 2019-05-21 11:27:08 -04:00

readme.md

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

Create an SQLite database. You can also use another database (MySQL, Postgres), simply update your configuration accordingly.

touch database/database.sqlite

Run database migrations:

php artisan migrate

Run database seeder:

php artisan db:seed

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

Running tests

To run the Ping CRM tests, run:

phpunit