11# Symfony Training
22
3+ This is the boilerplate project for KNP Labs Symfony training.
4+
5+ ## Requirements
6+
7+ To run this project with docker you will need:
8+
9+ - [ Docker] ( https://docs.docker.com/get-docker/ )
10+ - [ Docker Compose] ( https://docs.docker.com/compose/ )
11+
312## Installation
413
514``` bash
@@ -8,7 +17,7 @@ make start
817
918### Migrations
1019
11- One the stack has started, you may apply Doctrine migrations once MySQL is ready.
20+ Once the stack has started, you may apply Doctrine migrations:
1221
1322``` bash
1423make database-create
@@ -17,15 +26,25 @@ make database-migrate
1726
1827You can now access the application on [ localhost] ( http://127.0.0.1/login ) .
1928
29+ ### Fixtures
30+
31+ For most of trainings, you will need some fixtures to be loaded. To do so, run:
32+
33+ ``` bash
34+ make fixtures-load
35+ ```
36+
37+ At this point, you should be able to log in and access the application (Email:
` [email protected] ` , Password:
` admin ` )
38+
2039## Commands
2140
22- | Commands | Description |
23- | ----------------- | -----------------------------------|
24- | start | Setup and start the stack |
25- | cp-env | Copie default .env if none exists |
26- | build | Build Docker's container |
27- | install-deps | Install Composer dependencies |
28- | database-create | Create database if none exists |
29- | database-drop | Drop database |
30- | database-migrate | Run Doctrine migrations |
31- | fixtures-load | Load fixtures |
41+ | Commands | Description |
42+ | ------------------ | -----------------------------------|
43+ | start | Setup and start the stack |
44+ | cp-env | Copie default .env if none exists |
45+ | build | Build Docker's container |
46+ | install-deps | Install Composer dependencies |
47+ | database-create | Create database if none exists |
48+ | database-drop | Drop database |
49+ | database-migrate | Run Doctrine migrations |
50+ | fixtures-load | Load fixtures |
0 commit comments