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
For the manual installation of `OpenProject` as an external application of `Nextcloud`, make sure that your `Nextcloud` as well as `OpenProject` instance is up and running.
Set up and build `OpenProject` locally following [OpenProject Development Setup](https://www.openproject.org/docs/development/development-environment/)
37
+
After the setup, run `OpenProject` locally with the given command line.
38
+
39
+
>NOTE: If you are running Nextcloud in a sub folder replace `NC_SUB_FOLDER` with the path name, otherwise remove it.
40
+
41
+
```bash
42
+
# the reason to set relative path with NC_SUB_FOLDER is it makes easy to change when there is redirection url in response
Once you have copied the script to run the external application, configure the following environments
60
+
61
+
- `APP_ID` is the application id of the external app
62
+
- `APP_PORT` is port for the external app
63
+
- `APP_HOST` is the host for the external app
64
+
- `APP_SECRET` is the secret required for the communication between external app and nextcloud
65
+
- `APP_VERSION` is the version of external app
66
+
- `AA_VERSION` is the app_api version used
67
+
- `EX_APP_VERSION` is the version of external app
68
+
- `EX_APP_ID` is the application id of the external app
69
+
- `NC_SUB_FOLDER` is the subfolder in which nextcloud is running (make sure to use same in OPENPROJECT_RAILS__RELATIVE__URL__ROOT while running openproject)
70
+
- `OP_BACKEND_URL` is the url in which `OpenProject` is up and running
71
+
- `NEXTCLOUD_URL` the url in which `Nextcloud` is up and running
72
+
73
+
- Install required Python packages to run external application `openproject-nextcloud-app`
74
+
```bash
75
+
# Make sure that you have python3 installed in your local system
76
+
python3 -m pip install -r requirements.txt
77
+
```
78
+
79
+
- Run external application with the script
80
+
```bash
81
+
bash ex_app_run_script.sh
82
+
```
83
+
84
+
### 5. Register and deploy external application `openproject-nextcloud-app` in Nextcloud's external apps
85
+
86
+
Assuming you’re in nextcloud server root directory
87
+
88
+
- Register and deploy external application `openproject-nextcloud-app`
\"routes\": [{\"url\":\".*\",\"verb\":\"GET, POST, PUT, DELETE, HEAD, PATCH, OPTIONS, TRACE\",
99
+
\"access_level\":1,
100
+
\"headers_to_exclude\":[]}]}" \
101
+
--force-scopes --wait-finish
102
+
```
103
+
In the above bash command use the same value for`EX_APP_ID`, `EX_APP_VERSION`, `APP_SECRET`, and `APP_PORT` as used while running external app `openproject-nextcloud-app`
0 commit comments