- Installation
- Setting up 3rd-part Services -Mailtrap
- Workflows -Compiling assests
- Making Pull Requests
Follow these steps to setup the development environment.
- Clone the repo:
git clone [email protected]:Light-it-labs/user-stories.git user-stories - Initialize git flow repository with default configs:
git flow init - Create your environment config:
cp .env.example .env - Install the Composer dependencies:
composer install - Create a random application key:
php artisan key:generate - Setup the storage:
php artisan storage:link - Setup required 3rd-party services
- Seed the database:
php artisan migrate:fresh --seed - Create a personal access client:
php artisan passport:client --personal - Setup laravel passport:
php artisan passport:install - Install the NPM dependencies:
npm install - Compile all assets:
npm run dev
You’re done, checkout the app at http://localhost:8000.
Mailtrap is a fake SMTP server to test and view emails sent from the development environment.
- Signup for a free account on mailtrap.io
- Set your
MAIL_USERNAMEandMAIL_PASSWORDin your.envfile
Pusher is a hosted service that makes it easy to add real-time data and functionality to web and mobile applications
- Signup for a free account on pusher.com
- Set your
PUSHER_APP_ID,PUSHER_APP_KEYandPUSHER_APP_SECRETin your.envfile
You can compile assets inside the workbench:
npm run dev
To continuously watch for file changes:
npm run watch
- The development branch is
develop - Use
git flow feature start name-of-featureto create new branch