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: README.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -168,6 +168,8 @@ make npm
168
168
169
169
### Available Make targets
170
170
171
+
- make prod
172
+
- Builds the app for production and deploys a production Nextcloud instance with the app inside. Sets everything up. Nextcloud on http://localhost:8080 and SMTP testing on http://localhost:8081. Code changes are not automatically picked up; you need to rebuild the container -> run `make prod` again.
171
173
- make build
172
174
- Fetches PHP dependencies and builds frontend assets.
- Re-run make local to rebuild and restart the environment.
202
204
203
205
Notes:
204
-
- SMTP testing (smtp4dev) is available when using the Docker Compose-based test setup; it listens on http://localhost:8081. The simple make local flow runs a single Nextcloud container on port 8080.
206
+
- SMTP testing (smtp4dev) is available when using make target `make prod`; it listens on http://localhost:8081. The simple `make local` flow runs a single Nextcloud container on port 8080.
205
207
- The helper script scripts/run-app.sh orchestrates CI and test flows; for local development, stick to the Make targets above.
206
208
207
209
### Useful commands
@@ -217,7 +219,7 @@ Notes:
217
219
218
220
### Smtp4Dev
219
221
220
-
When developing locally, SMTP4Dev is launched on port 8081 to simulate sending emails through the app.
222
+
When developing locally, SMTP4Dev is launched on make target `make prod` on port 8081 to simulate sending emails through the app.
221
223
222
224
For more information about Smtp4Dev, please refer to the [official README](https://github.com/rnwood/smtp4dev/blob/master/README.md).
0 commit comments