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.
5
+
6
+
### 1. Install `app_api` application
7
+
8
+
Assuming you’re in the apps folder of Nextcloud with command git:
9
+
10
+
- Clone
11
+
```bash
12
+
https://github.com/cloud-py-api/app_api.git
13
+
```
14
+
- build
15
+
```bash
16
+
cd app_api
17
+
npm ci && npm run dev
18
+
```
19
+
- Enable the `app_api`
20
+
21
+
```bash
22
+
# Assuming you’re in nextcloud server root directory
Set up and build `OpenProject` locally following [OpenProject Development Setup](https://www.openproject.org/docs/development/development-environment/)
38
+
After the setup, run `OpenProject` locally with the given command line.
39
+
40
+
>NOTE: while running the below bash command line for`NC_SUB_FOLDER` put the sub folder path if you are running nextcloudin a sub folder elsedo remove it.
Once you have copied the script to run the external application, configure the following environments
63
+
64
+
- APP_ID is the application id of the external app
65
+
- APP_PORT is port for the external app
66
+
- APP_HOST is the host for the external app
67
+
- APP_SECRET is the secret required for the communication between external app and nextcloud
68
+
- APP_VERSION is the version of external app
69
+
- AA_VERSION is the app_api version used
70
+
- EX_APP_VERSION is the version of external app
71
+
- EX_APP_ID is the application id of the external app
72
+
- 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)
73
+
- OP_BACKEND_URL is the url in which `OpenProject` is up and running
74
+
- NEXTCLOUD_URL the url in which `Nextcloud` is up and running
75
+
76
+
- Run external application with the script
77
+
```bash
78
+
bash ex_app_run_script.sh
79
+
```
80
+
81
+
### 2. Register and deploy external application `openproject-nextcloud-app` in Nextcloud's external apps
82
+
83
+
Assuming you’re in nextcloud server root directory
84
+
85
+
- Register and deploy external application `openproject-nextcloud-app`
\"routes\": [{\"url\":\".*\",\"verb\":\"GET, POST, PUT, DELETE, HEAD, PATCH, OPTIONS, TRACE\",
96
+
\"access_level\":1,
97
+
\"headers_to_exclude\":[]}]}" \
98
+
--force-scopes --wait-finish
99
+
```
100
+
In the above bash command use the same value for`EX_APP_ID`, `EX_APP_VERSION`, `APP_SECRET`, and `APP_PORT` used while running external applicaiton `openproject-nextcloud-app`
101
+
102
+
103
+
Upon successful running , register and deploy of the external application `openproject-nextcloud-app`, the external application can be accessed with the url:
0 commit comments