No description
Find a file
Noix 342d2adced Merge branch 'update' into 'master'
Update

See merge request ldc-web/projets/gen-game-web!71
2026-08-07 06:35:19 +00:00
.husky feat: ✨ add commit lint from husky configuration 2026-08-06 16:21:57 +02:00
.vscode add project color 2023-12-04 11:16:25 +01:00
app fix: update middlewares and front-office routes 2026-07-23 15:03:40 +02:00
bootstrap Init 2020-10-21 15:26:21 +02:00
config feat(ckeditor): integrate CKEditor 5 with custom plugins and styles 2026-07-23 16:46:41 +02:00
database fix: 🐛 remove faker in mandatory seeder 2026-08-06 16:21:53 +02:00
deployment feat: ✨ add missing English translations and translate all user-facing flash messages and translate all mail subjects, greetings and contents 2026-04-17 12:52:00 +02:00
public Closes #30 Disallow seo bot index bo prefix 2024-03-12 13:43:35 +01:00
resources feat(ckeditor): integrate CKEditor 5 with custom plugins and styles 2026-07-23 16:46:41 +02:00
routes fix: update middlewares and front-office routes 2026-07-23 15:03:40 +02:00
storage - Add Command Export + TODO + Update migrations/2020_10_20_165858_create_codes.php 2020-12-01 17:25:16 +01:00
tests Bump to laravel-10 2023-08-21 10:22:07 +02:00
.browserslistrc Bump to laravel-10 2023-08-21 10:22:07 +02:00
.editorconfig Bump to laravel-10 2023-08-21 10:22:07 +02:00
.env.example Du saaaaaale comme never (pas demi) 2025-11-05 19:12:03 +01:00
.gitattributes Bump to laravel-10 2023-08-21 10:22:07 +02:00
.gitignore chore: update .gitignore 2025-08-01 18:15:41 +02:00
.gitlab-ci.yml Add deployment folder 2024-01-04 15:11:38 +01:00
.gitmodules Add theme-merger as submodule 2023-11-20 12:20:13 +01:00
.stylelintrc.json chore: update ESLint, Stylelint and PHPCS configurations 2026-07-23 15:03:40 +02:00
artisan Bump to laravel-10 2023-08-21 10:22:07 +02:00
commitlint.config.js feat: ✨ add commit lint from husky configuration 2026-08-06 16:21:57 +02:00
composer.json chore: 🔖 release v4.1.2 2026-08-06 16:21:58 +02:00
composer.lock chore: 📦 bump crm client from v2 to v4 2026-04-13 12:33:16 +02:00
eslint.config.js chore: update ESLint, Stylelint and PHPCS configurations 2026-07-23 15:03:40 +02:00
jsconfig.json Bump to laravel-10 2023-08-21 10:22:07 +02:00
package-lock.json feat: ✨ add commit lint from husky configuration 2026-08-06 16:21:57 +02:00
package.json feat: ✨ add commit lint from husky configuration 2026-08-06 16:21:57 +02:00
phpcs.xml chore: update ESLint, Stylelint and PHPCS configurations 2026-07-23 15:03:40 +02:00
phpstan.neon phpstan 2024-01-31 09:03:18 +00:00
phpunit.xml Bump to laravel-10 2023-08-21 10:22:07 +02:00
README.md update theme 2024-01-19 15:29:21 +01:00
tsconfig.json chore(tsconfig): update include paths for TypeScript 2026-07-23 16:00:17 +02:00
vite.config.ts feat(ckeditor): integrate CKEditor 5 with custom plugins and styles 2026-07-23 16:46:41 +02:00

GEN GAME WEB

Installation

cp .env.example .env
php artisan key:generate /!\ bien sauvegarder la key
php artisan migrate:fresh --step
# Seulement pour developper un theme par exemple
php artisan db:seed --class DevelopmentSeeder
php artisan uwil:user:create

Création du compte Admin

php artisan uwil:user:create

Ajouter Parametrage du jeu

Les lots sont à ajouter avant de générer les instants gagants. En effet les instants gagants sont liés à des lots.

Générer des coupons et les mails

artisan queue:work

En cas de manipulation pourrie, penser a vider le cache pour supprimer le lock sur le job de generation des codes.

THEME

Instalation

Pour installer le theme bien mettre à jour les submodules avec git, git submodule update --init --recursive

puis utiliser la commande php artisan uwil:theme:switch NOM_DU_THEME et php artisan optimize:clear && php artisan optimize

Pour mettre a jour la liste des themes :

Mise à jour

Note : cette partie n'est pas encore certaine.

  • Mettre à jour git submodule update --remote --merge resources/theme Ou
cd resources/themes;
git pull origin main;
cd ../..;
git add resources/themes

Puis commit.