Go to file
Jonathan Reinink 6b8b44fd18 Update inertia-laravel dependency 2019-04-01 12:40:55 -04:00
app Initial commit 2019-03-21 19:58:19 -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 Initial commit 2019-03-21 19:58:19 -04:00
routes Initial commit 2019-03-21 19:58:19 -04:00
storage Initial commit 2019-03-21 19:58:19 -04:00
tests Install Laravel 2019-03-05 16:10:11 -05:00
.babelrc Initial commit 2019-03-21 19:58:19 -04:00
.editorconfig Install Laravel 2019-03-05 16:10:11 -05:00
.env.example Install Laravel 2019-03-05 16:10:11 -05: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
artisan Install Laravel 2019-03-05 16:10:11 -05:00
composer.json Update inertia-laravel dependency 2019-04-01 12:40:55 -04:00
composer.lock Update inertia-laravel dependency 2019-04-01 12:40:55 -04:00
package-lock.json Update Inertia to Github dependency 2019-04-01 12:02:07 -04:00
package.json Update Inertia to Github dependency 2019-04-01 12:02:07 -04:00
phpunit.xml Install Laravel 2019-03-05 16:10:11 -05:00
readme.md Update readme with title, description and installation instructions 2019-04-01 12:17:13 -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 Initial commit 2019-03-21 19:58:19 -04:00

readme.md

Ping CRM

A demo application to illustrate how Inertia.js works.

Installation

Clone the repo locally:

git clone git@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

Setup local database by editing .env. Use whatever database (MySQL, Postgres, SQLite) you'd like here.

DB_CONNECTION=
DB_HOST=
DB_PORT=
DB_DATABASE=
DB_USERNAME=
DB_PASSWORD=

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: