Go to file
Jonathan Reinink 398f2610be
Remove phpunit instructions
2020-01-08 22:37:48 -05:00
app Remove ranger library that's not being used 2019-05-22 07:20:44 -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 Rename default user 2019-04-01 12:15:14 -04:00
public Initial commit 2019-03-21 19:58:19 -04:00
resources Simplify error handling 2019-05-22 09:37:04 -04:00
routes Remove unused accounts routes 2019-05-22 07:22:00 -04: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 ranger library that's not being used 2019-05-22 07:20:44 -04:00
composer.lock Remove ranger library that's not being used 2019-05-22 07:20:44 -04:00
package-lock.json Update dependencies 2019-05-22 09:36:20 -04:00
package.json Update Inertia to Github dependency 2019-04-01 12:02:07 -04:00
phpunit.xml Removed duplicate SESSION_DRIVER entry in phpunit.xml 2019-04-09 12:31:53 +09:00
readme.md Remove phpunit instructions 2020-01-08 22:37:48 -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.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 install

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