From 2e72dda5ec09d237e72091cd6f3cfc3aa06bdd79 Mon Sep 17 00:00:00 2001 From: Vincent BRIDIER Date: Mon, 2 May 2022 14:30:59 +0200 Subject: [PATCH] Stack update --- .env.example | 2 +- README.md | 73 ++++++---------------------- app/Providers/AppServiceProvider.php | 6 +-- 3 files changed, 17 insertions(+), 64 deletions(-) diff --git a/.env.example b/.env.example index 51f00e7..af3c2f9 100644 --- a/.env.example +++ b/.env.example @@ -15,7 +15,7 @@ DB_PASSWORD= BROADCAST_DRIVER=log CACHE_DRIVER=file -QUEUE_CONNECTION=sync +QUEUE_CONNECTION=database SESSION_DRIVER=file SESSION_LIFETIME=120 diff --git a/README.md b/README.md index f3decb1..e3a6056 100644 --- a/README.md +++ b/README.md @@ -1,61 +1,16 @@ -

+# GEN GAME WEB +## Installation +``` +php artisan key:generate /!\ bien sauvegarder la key +php artisan migrate --seed +``` -

-Build Status -Total Downloads -Latest Stable Version -License -

+## Création du compte Admin +``` +php artisan create:admin +``` -## About Laravel - -Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experience to be truly fulfilling. Laravel takes the pain out of development by easing common tasks used in many web projects, such as: - -- [Simple, fast routing engine](https://laravel.com/docs/routing). -- [Powerful dependency injection container](https://laravel.com/docs/container). -- Multiple back-ends for [session](https://laravel.com/docs/session) and [cache](https://laravel.com/docs/cache) storage. -- Expressive, intuitive [database ORM](https://laravel.com/docs/eloquent). -- Database agnostic [schema migrations](https://laravel.com/docs/migrations). -- [Robust background job processing](https://laravel.com/docs/queues). -- [Real-time event broadcasting](https://laravel.com/docs/broadcasting). - -Laravel is accessible, powerful, and provides tools required for large, robust applications. - -## Learning Laravel - -Laravel has the most extensive and thorough [documentation](https://laravel.com/docs) and video tutorial library of all modern web application frameworks, making it a breeze to get started with the framework. - -If you don't feel like reading, [Laracasts](https://laracasts.com) can help. Laracasts contains over 1500 video tutorials on a range of topics including Laravel, modern PHP, unit testing, and JavaScript. Boost your skills by digging into our comprehensive video library. - -## Laravel Sponsors - -We would like to extend our thanks to the following sponsors for funding Laravel development. If you are interested in becoming a sponsor, please visit the Laravel [Patreon page](https://patreon.com/taylorotwell). - -### Premium Partners - -- **[Vehikl](https://vehikl.com/)** -- **[Tighten Co.](https://tighten.co)** -- **[Kirschbaum Development Group](https://kirschbaumdevelopment.com)** -- **[64 Robots](https://64robots.com)** -- **[Cubet Techno Labs](https://cubettech.com)** -- **[Cyber-Duck](https://cyber-duck.co.uk)** -- **[Many](https://www.many.co.uk)** -- **[Webdock, Fast VPS Hosting](https://www.webdock.io/en)** -- **[DevSquad](https://devsquad.com)** -- **[OP.GG](https://op.gg)** - -## Contributing - -Thank you for considering contributing to the Laravel framework! The contribution guide can be found in the [Laravel documentation](https://laravel.com/docs/contributions). - -## Code of Conduct - -In order to ensure that the Laravel community is welcoming to all, please review and abide by the [Code of Conduct](https://laravel.com/docs/contributions#code-of-conduct). - -## Security Vulnerabilities - -If you discover a security vulnerability within Laravel, please send an e-mail to Taylor Otwell via [taylor@laravel.com](mailto:taylor@laravel.com). All security vulnerabilities will be promptly addressed. - -## License - -The Laravel framework is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT). +## CRON +``` +php artisan users:deletenc à mettre 1 fois par jour +``` \ No newline at end of file diff --git a/app/Providers/AppServiceProvider.php b/app/Providers/AppServiceProvider.php index 80e2a73..fea74b6 100644 --- a/app/Providers/AppServiceProvider.php +++ b/app/Providers/AppServiceProvider.php @@ -22,10 +22,8 @@ class AppServiceProvider extends ServiceProvider */ public function boot() { - // * LOCAL HTTPS FIX. - if (!in_array(config('app.env'), ['local', 'testing'])) { - URL::forceScheme('https'); - } + URL::forceScheme('https'); + // * HA PROXY FIX. App::singleton('clientIp', function () { if (