Skip to content

Commit cec2f69

Browse files
committed
minor #1092 Update ux.symfony.com local deployment instructions (bocharsky-bw)
This PR was merged into the 2.x branch. Discussion ---------- Update ux.symfony.com local deployment instructions | Q | A | ------------- | --- | Bug fix? | no | New feature? | no <!-- please update src/**/CHANGELOG.md files --> | Tickets | no | License | MIT Some improvements to the list of commands: - Run console commands via `symfony console` - Add missing migrations step - Run tests via `symfony php bin/phpunit` - Minor style tweaks Commits ------- 7401611 Update ux.symfony.com local deployment instructions
2 parents 9265573 + 7401611 commit cec2f69

File tree

1 file changed

+19
-9
lines changed

1 file changed

+19
-9
lines changed

Diff for: ux.symfony.com/README.md

+19-9
Original file line numberDiff line numberDiff line change
@@ -9,32 +9,42 @@ Source code for [ux.symfony.com](https://ux.symfony.com).
99
1. Install the project:
1010
```bash
1111
git clone [email protected]:symfony/ux
12-
cd ux/ux.symfony.com
12+
cd ux/ux.symfony.com/
1313
```
14+
1415
2. Install the dependencies:
1516
```bash
16-
composer install
17+
symfony composer install
1718
```
18-
3. (optional) Configure docker:
19+
20+
3. (optional) Configure Docker:
1921
```bash
2022
docker compose up -d
2123
```
22-
4. Populate the database:
24+
25+
5. Run database migrations:
26+
```bash
27+
symfony console doctrine:migration:migrate
28+
```
29+
30+
6. Populate the database:
2331
```bash
2432
symfony console app:load-data
2533
```
26-
5. Start the web server:
34+
35+
7. Compile the Sass files:
2736
```bash
28-
symfony server:start -d
37+
symfony console sass:build --watch
2938
```
3039

31-
6. Compile the Sass files:
40+
8. Start the web server:
3241
```bash
33-
php bin/console sass:build --watch
42+
symfony server:start -d
3443
```
3544

45+
3646
### Running the Test Suite
3747

3848
```bash
39-
vendor/bin/phpunit
49+
symfony php bin/phpunit
4050
```

0 commit comments

Comments
 (0)