35 lines
643 B
Markdown
35 lines
643 B
Markdown
# DOUX
|
|
|
|
## Installation
|
|
```
|
|
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
|
|
```
|
|
## 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
|
|
```
|
|
|
|
## Crons
|
|
Put every min in PROD :
|
|
```
|
|
php artisan schedule:run
|
|
```
|