Add readme

This commit is contained in:
Vincent BRIDIER 2022-06-07 13:36:42 +02:00
parent e39a2c8040
commit 5b8c3f2e10
No known key found for this signature in database
GPG key ID: 8571BFA20420D512
4 changed files with 19 additions and 26 deletions

View file

@ -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
@ -43,17 +37,3 @@ 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}"

17
README.md Normal file
View file

@ -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

View file

@ -1 +0,0 @@
# TODO

View file

@ -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