Skip to content

Commit cdb42de

Browse files
merge manual install into install instructions
1 parent 6bf0836 commit cdb42de

2 files changed

Lines changed: 9 additions & 8 deletions

File tree

INSTALL.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,18 @@
11
# Installing this app to your Nextcloud
22

33
## Set up /.well-known/openid-configuration
4-
After installing and enabling the app, take the JSON from e.g.
4+
After installing and enabling the appin your Nextcloud instance, take the JSON from e.g.
55

66
`https://cloud.pondersource.org/index.php/apps/solid/openid` (depending on your hostname and whether you have the `index.php/` part in there)
77

88
and put that into e.g. `/var/www/html/.well-known/openid-configuration` (depending on your webroot being e.g. `/var/www/html`)
9+
Or you should
10+
[edit your .htaccess file](https://github.com/solid/test-suite/blob/665824af763ddd5dd7242cbc8b18faad4ac304e3/servers/nextcloud-server/init.sh#L5)
11+
and then test whether https://your-nextcloud-server.com/.well-known/openid-configuration redirects to https://your-nextcloud-server.com/apps/solid/openid.
12+
913
Check that it works: `https://cloud.pondersource.org/.well-known/openid-configuration`
10-
Then add this section to your apache site.conf:
14+
Then, take the CORS instructions from site.conf and add them to your own webserver configuration.
15+
In particular, add this section to your apache site.conf:
1116
```
1217
<Directory /var/www/html/.well-known/>
1318
Header always set Access-Control-Allow-Origin: *

README.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
A plugin to make Nextcloud compatible with Solid.
33

44
You can download it via the Nextcloud app store: https://apps.nextcloud.com/apps/solid
5-
IMPORTANT: Follow the [additional install instructions!](https://github.com/pdsinterop/solid-nextcloud/blob/main/INSTALL.md).
5+
IMPORTANT: Follow the [install instructions!](https://github.com/pdsinterop/solid-nextcloud/blob/main/INSTALL.md).
66

77
## Development install
88
Clone https://github.com/pdsinterop/test-suites, cd into it, and run:
@@ -21,11 +21,7 @@ docker exec -u root -it server service apache2 reload
2121
Now visit https://localhost and log in as alice / alice123.
2222

2323
## Manual install
24-
If you enable this app in your Nextcloud instance, you should
25-
[edit your .htaccess file](https://github.com/solid/test-suite/blob/665824af763ddd5dd7242cbc8b18faad4ac304e3/servers/nextcloud-server/init.sh#L5)
26-
and then test whether https://your-nextcloud-server.com/.well-known/openid-configuration redirects to https://your-nextcloud-server.com/apps/solid/openid.
27-
28-
Also, take the CORS instructions from site.conf and add them to your own webserver configuration.
24+
Pleas follow the [install instructions](https://github.com/pdsinterop/solid-nextcloud/blob/main/INSTALL.md).
2925

3026
## Unattended testing
3127
There is a [GitHub Action](https://github.com/pdsinterop/solid-nextcloud/actions/workflows/ci.yml) that runs a [Docker-based test script](https://github.com/pdsinterop/solid-nextcloud/blob/585b968/.github/workflows/ci.yml#L29).

0 commit comments

Comments
 (0)