php artisan syncdb:public php artisan syncdb:private
Clone the project repository by running the command below if you use SSH
git clone https://github.com/shahnoman4/BLMIS.git
If you use https, use this instead
git clone https://github.com/shahnoman4/BLMIS.git
After cloning, run:
composer install
npm install
npm run dev
OR
npm run prod
Duplicate .env.example
and rename it .env
Then run:
php artisan key:generate
Be sure to fill in your database details in your .env
file before running the db scripts:
Excecute db scripts
php artisan migrate
Create Super Admin user
php artisan make:super-admin
Run a service worker in background to listen for queued tasks (emails & notifications will be dispatched asynchronous)
php artisan queue:listen
And finally, start the application:
php artisan serve
and visit http://localhost:8000 to see the application in action.