You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/topics/setup.md
+5-3
Original file line number
Diff line number
Diff line change
@@ -4,9 +4,11 @@ Setting up the server should be quick and easy. These are the necessary steps:
4
4
5
5
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`)
6
6
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.
10
12
11
13
*Of course, you should deploy the project to where it will be hosted (probably before step 2).*
0 commit comments