ad8f7c0e3d | ||
---|---|---|
app | ||
bootstrap | ||
config | ||
database | ||
public | ||
resources | ||
routes | ||
storage | ||
tests | ||
.babelrc | ||
.editorconfig | ||
.env.example | ||
.eslintrc.js | ||
.gitattributes | ||
.gitignore | ||
LICENSE | ||
artisan | ||
composer.json | ||
composer.lock | ||
package-lock.json | ||
package.json | ||
phpunit.xml | ||
readme.md | ||
server.php | ||
tailwind.js | ||
webpack.mix.js |
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:
- Username: johndoe@example.com
- Password: secret