This is a demo of a basic CRM in Laravel. It is themed with Core UI.
- Start by cloning this project.
https://github.com/andrewjamesbibby/project-demo.git
- Install all required libraries
composer install
- Create an sqlite database file
touch database/database.sqlite
- Create a test database (only if testing)
touch database/testdb.sqlite
- Migrate and seed
php artisan migrate --seed
-
Copy .env.example to .env. Ensure the mail driver is set to log and the DB_DATABASE is the relative path to the database/sqlite file.
-
Spin up local webserver from project root
php artisan serve
-
Navigate to http://127.0.0.1:8000 and login with [email protected] | password
-
To ensure images are correctly linked between storage and public folders run:
php artisan storage:link
To run unit test - ensure the test database exists (see above) and run:
phpunit
The javascript and css files have been pre compiled to production assets. To work on them first install all npm libraries.
npm install
Then after making any changes run:
npm run dev
Or a watcher can be run with:
npm run watch