Help Keep Track of Paid Time Off (PTO)
composer install
vagrant up
SSH into vagrant box to run artisan commands
vagrant ssh
cd code
touch database/database.sqlite
php artisan migrate
php artisan tinker
composer install
npm install
touch database/database.sqlite
php artisan migrate
gulp
php artisan serve
You'll need a google SSO app to connect to or use the one setup already for Continued LLC.
https://developers.google.com/identity/gsi/web/guides/get-google-api-clientid
Update the .env
with Google SSO client ID, secret, redirect, and restricted email domain. Example:
GOOGLE_CLIENT_ID=very-long-key
GOOGLE_SECRET=super-secret-key
GOOGLE_REDIRECT=http://localhost:8000/login/google/callback
GOOGLE_DOMAIN=continued.com
Make sure to authorize the redirect URL in your google SSO app.
https://console.developers.google.com/apis
- Regsiter a user via the registration feature http://localhost:8000/register
- SSH into your vagrant/production box
vagrant ssh && cd code
- Run artisan tinker
php artisan tinker
- Promote your user to admin role
App\User::first()->update(['role' => 'admin']);
- Log out and back in.