Skip to content

Instantly share code, notes, and snippets.

@aDotInTheVoid
Created August 20, 2018 10:38
Show Gist options
  • Save aDotInTheVoid/d0a5b24c0f8afe9d491caa42f5af2971 to your computer and use it in GitHub Desktop.
Save aDotInTheVoid/d0a5b24c0f8afe9d491caa42f5af2971 to your computer and use it in GitHub Desktop.
Travis Build Stuff
APP_NAME=UCSMUN
APP_ENV=local
APP_KEY=
APP_DEBUG=true
APP_URL=http://localhost
LOG_CHANNEL=stack
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=ucsmun
DB_USERNAME=travis
DB_PASSWORD=
BROADCAST_DRIVER=log
CACHE_DRIVER=file
SESSION_DRIVER=file
SESSION_LIFETIME=120
QUEUE_DRIVER=sync
REDIS_HOST=127.0.0.1
REDIS_PASSWORD=null
REDIS_PORT=6379
MAIL_DRIVER=smtp
MAIL_HOST=smtp.mailtrap.io
MAIL_PORT=2525
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null
PUSHER_APP_ID=
PUSHER_APP_KEY=
PUSHER_APP_SECRET=
PUSHER_APP_CLUSTER=mt1
MIX_PUSHER_APP_KEY="${PUSHER_APP_KEY}"
MIX_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}"
OAUTH_SECRET=INSERT_SECRET_HERE
DB::table('schools') -> insert(['name'=>'UCS']);
DB::table('delegations') -> insert(['name'=>'staff', 'school_id'=>1]);
DB::table('committees') -> insert(['name'=>'staff','location'=>'K1','block'=>'IDK']);
DB::table('users') -> insert(['name' => 'Admin',
'email' => 'example@example.com',
'password' => bcrypt('admin'),
'permissions'=>5,
'school_id'=>1,
'delegation_id'=>1,
'committee_id'=>1]);
exit;
CREATE DATABASE ucsmun;
EXIT;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment