From 5b8c3f2e1024db3a75958e154fc0df52a83ff686 Mon Sep 17 00:00:00 2001 From: Vincent BRIDIER Date: Tue, 7 Jun 2022 13:36:42 +0200 Subject: [PATCH] Add readme --- .env.example | 22 +--------------------- README.md | 17 +++++++++++++++++ TODO.md | 1 - app/Providers/AppServiceProvider.php | 5 +---- 4 files changed, 19 insertions(+), 26 deletions(-) create mode 100644 README.md delete mode 100644 TODO.md diff --git a/.env.example b/.env.example index 02bb5a3..de4c256 100644 --- a/.env.example +++ b/.env.example @@ -22,12 +22,6 @@ QUEUE_CONNECTION=sync SESSION_DRIVER=file SESSION_LIFETIME=120 -MEMCACHED_HOST=127.0.0.1 - -REDIS_HOST=127.0.0.1 -REDIS_PASSWORD=null -REDIS_PORT=6379 - MAIL_MAILER=smtp MAIL_HOST=mailhog MAIL_PORT=1025 @@ -42,18 +36,4 @@ MAIL_ERRORS="equipe.web@ldc.fr" # USED FOR RECAPTCHA V3 RECAPTCHA_3_PUB_KEY="" -RECAPTCHA_3_PRIV_KEY="" - -AWS_ACCESS_KEY_ID= -AWS_SECRET_ACCESS_KEY= -AWS_DEFAULT_REGION=us-east-1 -AWS_BUCKET= -AWS_USE_PATH_STYLE_ENDPOINT=false - -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}" +RECAPTCHA_3_PRIV_KEY="" \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..a6f92ae --- /dev/null +++ b/README.md @@ -0,0 +1,17 @@ +# Loué +## Installation +``` +cp .env.example .env +php artisan key:generate +php artisan migrate --seed +php artisan storage:link +``` +Front : +``` +npm install && npm run prod +``` +Création d'un compte administrateur : +``` +php artisan user:create +``` +## TODO \ No newline at end of file diff --git a/TODO.md b/TODO.md deleted file mode 100644 index 4640904..0000000 --- a/TODO.md +++ /dev/null @@ -1 +0,0 @@ -# TODO diff --git a/app/Providers/AppServiceProvider.php b/app/Providers/AppServiceProvider.php index 260aedc..774ab8a 100644 --- a/app/Providers/AppServiceProvider.php +++ b/app/Providers/AppServiceProvider.php @@ -16,10 +16,7 @@ class AppServiceProvider extends ServiceProvider */ public function boot() { - // * LOCAL HTTPS FIX - if (config('app.env') !== 'local') { - URL::forceScheme('https'); - } + URL::forceScheme('https'); // * LOCAL FORCE eg: for Carbon // * Remove numeric to prevent float seperator to breaking numeric transactions