Ping CRM on Yii 2 ¶
A Yii 2 demo application to illustrate how Inertia.js works.
With Inertia you are able to build single-page apps using classic server-side routing and controllers, without building an API.
Clone the repo locally:
git clone https://github.com/tbreuss/pingcrm-yii2 pingcrm-yii2 cd pingcrm-yii2
Install PHP dependencies:
Install NPM dependencies:
npm run dev npm run css-dev
Create an SQLite database. You can also use another database (MySQL, Postgres), simply update your configuration accordingly.
Run database migrations:
php yii migrate
Run database seeder:
php yii db/seed
Run the dev server (the output will give the address):
php yii serve
You're ready to go! Visit Ping CRM in your browser, and login with:
- Username: email@example.com
- Password: secret
Running tests ¶
To run the Ping CRM tests, run:
(to be done)
- PHP >= 5.6.0
- Original work by Jonathan Reinink (@reinink) and contributors
- Port to Yii 2 by Thomas Breuss (@tbreuss)