Go to file
Jonathan Reinink f3b8bba02b Update NPM dependencies 2021-02-27 08:49:16 -05:00
.github Add funding file 2020-03-30 13:35:22 -04:00
app Simplify pagination 2021-02-27 08:36:45 -05:00
bootstrap Install Laravel 2019-03-05 16:10:11 -05:00
config Upgrade to Laravel 8 2020-09-08 18:45:49 -04:00
database Add "failed_jobs" migration and cleanup migrations 2020-09-26 06:56:09 -04:00
public Initial commit 2019-03-21 19:58:19 -04:00
resources Simplify pagination 2021-02-27 08:36:45 -05:00
routes Fix images route 2020-09-12 14:22:16 +03:00
storage Initial commit 2019-03-21 19:58:19 -04:00
tests Upgrade to Laravel 8 2020-09-08 18:45:49 -04:00
.editorconfig Update editor config 2020-07-29 10:16:14 -04:00
.env.example Update example environment file 2020-07-29 10:12:52 -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 Fix coding styles 2020-07-29 10:58:25 -04:00
.php_cs.dist Fix coding styles 2020-07-29 10:58:25 -04:00
LICENSE Add license 2019-04-01 13:40:03 -04:00
Procfile Add Heroku Procfile 2019-12-18 13:33:19 -05:00
artisan Install Laravel 2019-03-05 16:10:11 -05:00
composer.json Add support for PHP 8 2021-02-27 08:38:26 -05:00
composer.lock Add support for PHP 8 2021-02-27 08:38:26 -05:00
package-lock.json Update NPM dependencies 2021-02-27 08:49:16 -05:00
package.json Update NPM dependencies 2021-02-27 08:49:16 -05:00
phpunit.xml Upgrade to Laravel 8 2020-09-08 18:45:49 -04:00
readme.md Merge pull request #35 from djm/patch-1 2020-01-08 22:38:37 -05: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.config.js WIP 2019-12-18 13:28:09 -05:00
webpack.mix.js Merge branch 'master' into pr/21 2020-01-08 22:16:10 -05: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

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

php artisan serve

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

Running tests

To run the Ping CRM tests, run:

phpunit