Actualiser Readme.md
This commit is contained in:
parent
d969364113
commit
f30796715a
38
Readme.md
38
Readme.md
@ -11,44 +11,6 @@ git clone <lien_du_projet>
|
|||||||
cd HegreHotel
|
cd HegreHotel
|
||||||
```
|
```
|
||||||
|
|
||||||
Installer les dépendances :
|
|
||||||
```bash
|
|
||||||
composer install
|
|
||||||
composer update
|
|
||||||
```
|
|
||||||
|
|
||||||
## ⚙️ Configuration locale
|
|
||||||
|
|
||||||
Créer un fichier `.env.local` à la racine du projet :
|
|
||||||
```
|
|
||||||
DATABASE_URL="postgresql://nomutilisateur:motdepasse@adresse:port/nomdelabdd?serverVersion=16&charset=utf8"
|
|
||||||
```
|
|
||||||
|
|
||||||
> ⚠️ Assure-toi que les informations de connexion correspondent à ta configuration locale.
|
|
||||||
|
|
||||||
## 🛠️ Migrations
|
|
||||||
|
|
||||||
Créer une migration :
|
|
||||||
```bash
|
|
||||||
php bin/console make:migration
|
|
||||||
```
|
|
||||||
|
|
||||||
Appliquer la migration :
|
|
||||||
```bash
|
|
||||||
php bin/console doctrine:migrations:migrate
|
|
||||||
```
|
|
||||||
|
|
||||||
## ▶️ Lancer le projet
|
|
||||||
|
|
||||||
Démarrer le serveur local :
|
|
||||||
```bash
|
|
||||||
symfony serve
|
|
||||||
```
|
|
||||||
ou
|
|
||||||
```bash
|
|
||||||
php bin/console server:start
|
|
||||||
```
|
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## 📱 Fonctionnalités principales
|
## 📱 Fonctionnalités principales
|
||||||
|
Loading…
x
Reference in New Issue
Block a user