2022-05-10 11:57:30 +02:00
|
|
|
# DOUX
|
2021-11-18 14:36:06 +01:00
|
|
|
|
2022-05-10 11:57:30 +02:00
|
|
|
## Installation
|
2022-05-19 10:06:10 +02:00
|
|
|
```
|
|
|
|
|
php artisan storage:link
|
|
|
|
|
cp .env.example .env
|
|
|
|
|
php artisan key:generate
|
|
|
|
|
composer install
|
|
|
|
|
```
|
|
|
|
|
- Créez la base de données
|
|
|
|
|
- Éditez le .env
|
|
|
|
|
```
|
|
|
|
|
php artisan migrate --seed
|
|
|
|
|
```
|
|
|
|
|
Pour le front :
|
|
|
|
|
```
|
|
|
|
|
npm install
|
|
|
|
|
npm run prod
|
2022-07-18 10:36:38 +00:00
|
|
|
```
|
2023-08-03 15:47:45 +02:00
|
|
|
## Traduction ([joedixon]([#table-of-contents](https://github.com/joedixon/laravel-translation)))
|
|
|
|
|
Publier la configuration :
|
|
|
|
|
```
|
|
|
|
|
php artisan vendor:publish --provider="JoeDixon\Translation\TranslationServiceProvider"
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
Synchroniser les traductions entre les conducteurs :
|
|
|
|
|
```
|
|
|
|
|
php artisan translation:sync-translations
|
|
|
|
|
```
|
2022-07-18 10:36:38 +00:00
|
|
|
|
|
|
|
|
## Crons
|
|
|
|
|
Put every min in PROD :
|
|
|
|
|
```
|
|
|
|
|
php artisan schedule:run
|
2022-07-27 13:16:09 +02:00
|
|
|
```
|