diff --git a/.env.example b/.env.example index ec44a125..16230c68 100644 --- a/.env.example +++ b/.env.example @@ -1,17 +1,20 @@ -APP_NAME=Laravel +APP_NAME=C-CMS APP_ENV=local -APP_KEY= +APP_KEY=base64:FQH+yWnhFyB+2gpByIg2Rybmqn5EXkL7VeFawzSJ/Lc= APP_DEBUG=true -APP_URL=http://localhost +APP_URL=https://dev.c-cms.cf/ + +SQN_NUMBER=000 +SQN_FULLNAME="Escadron 000 Exemple" LOG_CHANNEL=stack DB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_PORT=3306 -DB_DATABASE=homestead -DB_USERNAME=homestead -DB_PASSWORD=secret +DB_DATABASE=ddb_dev +DB_USERNAME=root +DB_PASSWORD=nHpz39lp BROADCAST_DRIVER=log CACHE_DRIVER=file @@ -23,13 +26,16 @@ REDIS_HOST=127.0.0.1 REDIS_PASSWORD=null REDIS_PORT=6379 -MAIL_DRIVER=smtp +MAIL_DRIVER=mailgun MAIL_HOST=smtp.mailtrap.io MAIL_PORT=2525 MAIL_USERNAME=null MAIL_PASSWORD=null MAIL_ENCRYPTION=null +NEXMO_KEY=f52074e0 +NEXMO_SECRET=lXK9GasDUdotWqL3 + PUSHER_APP_ID= PUSHER_APP_KEY= PUSHER_APP_SECRET= diff --git a/.gitignore b/.gitignore index 554dce54..4c192857 100644 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,4 @@ npm-debug.log yarn-error.log .env /public/assets/public +/resources/views/public.blade.php diff --git a/config/app.php b/config/app.php index 642649e6..13b36021 100644 --- a/config/app.php +++ b/config/app.php @@ -54,6 +54,17 @@ return [ 'url' => env('APP_URL', 'http://localhost'), + /* + |-------------------------------------------------------------------------- + | Application Version + |-------------------------------------------------------------------------- + | + | This the current version of the application. + | + */ + + 'version' => "3.0.2b", + /* |-------------------------------------------------------------------------- | Application Timezone diff --git a/config/squadron.php b/config/squadron.php index b4b3e2dc..b88937b4 100644 --- a/config/squadron.php +++ b/config/squadron.php @@ -7,24 +7,16 @@ return [ | Squadron Number |-------------------------------------------------------------------------- | - | This option controls the default authentication "guard" and password - | reset options for your application. You may change these defaults - | as required, but they're a perfect start for most applications. - | */ - 'number' => '697', + 'number' => env('SQN_NUMBER', "000"), /* |-------------------------------------------------------------------------- | Squadron FullName |-------------------------------------------------------------------------- | - | This option controls the default authentication "guard" and password - | reset options for your application. You may change these defaults - | as required, but they're a perfect start for most applications. - | */ - 'fullname' => 'Escadron 697 Rotary Rimouski', + 'fullname' => env('SQN_FULLNAME', "Escadron 000 Exemple"), ]; diff --git a/install.sh b/install.sh index 9cd68e31..ad666323 100644 --- a/install.sh +++ b/install.sh @@ -3,4 +3,5 @@ sudo composer update sudo chmod -R 777 storage/ sudo chmod -R 777 bootstrap/ php artisan migrate -php artisan db:seed \ No newline at end of file +php artisan db:seed +cp resources/views/default.blade.php resources/views/index.blade.php \ No newline at end of file diff --git a/resources/views/welcome.blade.php b/resources/views/default.blade.php similarity index 55% rename from resources/views/welcome.blade.php rename to resources/views/default.blade.php index 353af8b8..2b3feebb 100644 --- a/resources/views/welcome.blade.php +++ b/resources/views/default.blade.php @@ -5,7 +5,7 @@ -