- Clone the repository
git clone https://github.com/njugunamwangi/laracom.git
- On the root of the directory, copy and paste .env.example onto .env and configure the database accordingly
copy .env.example .env
- Install composer dependencies bu running composer install
composer install
- Install npm dependencies
npm install
- Run migrations and seed admin user
php artisan migrate --seed
- Generate laravel application key using
php artisan key:generate
- Run laravel application using
php artisan serve
- Run react application using
npm run dev
- Storage
php artisan storage:link
- Admin credentials
email: admin@admin.com
password: password
- Admin url
http://admin.laracom.test