- 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: [email protected]
password: password
- Admin url
https://admin.laracom.test