Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[dev] Améliorer la documentation d'install avec symfony 4 #1113

Merged
merged 1 commit into from
Apr 26, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 34 additions & 1 deletion doc/install.local.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,17 @@
* docker
* docker compose

### Générer le docker-compose

```shell
cp docker-compose.symfony_server.yml.dist docker-compose.yml
```

### Créer les conteneurs

```shell
docker compose build
```
```

### Lancer l'instance

Expand All @@ -34,6 +39,34 @@ Pour créer l'utilisateur super admin, visiter :
Vous pouvez vous connecter avec l'utilisateur super admin :
**admin** / **password**.

### Dupliquer le .env

```shell
cp .env.dist .env
```

Besoin de créer le .env.local.php ? `composer dump-env prod`

### Installer les dépendances PHP

```shell
docker compose exec php composer install
```

### Installer les dépendances JS

```
// en dehors du conteneur
npm install
npm run dev // build
```

### Créer la base de données

```shell
docker compose exec php php bin/console doctrine:migration:migrate -n
```

### Remplir la base de donnée avec des données fictives

```shell
Expand Down
Loading