Skip to content

Commit cb28573

Browse files
committed
Add missing webpack js installation
1 parent 49d4143 commit cb28573

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

docs/topics/setup.md

+5-3
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,11 @@ Setting up the server should be quick and easy. These are the necessary steps:
44

55
1. [Download](https://github.com/moay/server-for-symfony-flex/releases) the project from Github (or `git clone https://github.com/moay/server-for-symfony-flex`)
66
2. Navigate to the project folder and run `composer install`.
7-
3. Open the file `config/parameters.yaml` and enter the url to your private recipes repo (or provide appropriate environment variables).
8-
4. Setup the `APP_ENV` properly. This can be done in the `.env` file (create if needed) or on the hosting. Setting it to `prod` is recommended.
9-
5. Run `php bin/console recipes:initialize` in order to download your recipes.
7+
3. Install Encore with `yarn install` (or with `docker run --rm --name=node --mount type=bind,source="$(pwd)"/,target=/app --workdir=/app node yarn yarn install`)
8+
4. Build assets with `yarn encore dev` (or with `docker run --rm --name=node --mount type=bind,source="$(pwd)"/,target=/app --workdir=/app node yarn encore dev`)
9+
5. Open the file `config/parameters.yaml` and enter the url to your private recipes repo (or provide appropriate environment variables).
10+
6. Setup the `APP_ENV` properly. This can be done in the `.env` file (create if needed) or on the hosting. Setting it to `prod` is recommended.
11+
7. Run `php bin/console recipes:initialize` in order to download your recipes.
1012

1113
*Of course, you should deploy the project to where it will be hosted (probably before step 2).*
1214

0 commit comments

Comments
 (0)