###Laravel starer kit
composer install
npm install
bower install
Create .env
file (can be based on .env.example
)
php artisan key:generate
php artisan vendor:publish --provider="Tymon\JWTAuth\Providers\LaravelServiceProvider"
php artisan jwt:secret
Create .env file using .env.example as the base.
Set DB credentials within .env file
Run migrations
php artisan migrate
Run seeder
php artisan db:seed
Create storage link
php artisan storage:link
to compile the project once, run:
npm run dev
to run porject watcher, run:
npm run watch-poll
go to project url in browser or run the command:
ng build
Angular5 files are stored in /resources/assets/src folder
###E-Mailing
Currently emailing is used for:
- reset password
for dev purpose please set-up appropriate smtp.mailtrap.io settings in .env file
###.env file
the following additional fields are obligate to be filled out within .env file:
- APP_URL
- MAIL_DRIVER
- MAIL_HOST
- MAIL_PORT
- MAIL_USERNAME
- MAIL_PASSWORD
- MAIL_ENCRYPTION
###Login to the app
To login to the app use the following creds:
[email protected]
admin