Skip to content

Commit caa88e5

Browse files
author
Julien Veyssier
committed
update README
Signed-off-by: Julien Veyssier <[email protected]>
1 parent 109a6ec commit caa88e5

File tree

2 files changed

+24
-2
lines changed

2 files changed

+24
-2
lines changed

.github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
sudo apt-get install php7.4-mbstring php7.4-sqlite3 npm make openssl -yqq > /dev/null 2>&1
3838
echo "###### installing nextcloud"
3939
mkdir ~/html
40-
git clone https://github.com/nextcloud/server.git --recursive --depth 1 -b stable20 ~/html/nextcloud
40+
git clone https://github.com/nextcloud/server.git --recursive --depth 1 -b master ~/html/nextcloud
4141
sed -i $'s|if (substr($fullPath, 0, strlen($root) + 1) === $root . \'/\')|if (is_string($root) and substr($fullPath, 0, strlen($root) + 1) === $root . \'/\')|g' ~/html/nextcloud/lib/autoloader.php
4242
cp -r $GITHUB_WORKSPACE ~/html/nextcloud/apps/${APP_ID}
4343
php ~/html/nextcloud/occ maintenance:install --database "sqlite" --admin-user "admin" --admin-pass "password"

README.md

+23-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,26 @@
33
⊞ Interact with your CRM solution in Nextcloud!
44

55
SuiteCRM integration provides a dashboard widget displaying your important notifications,
6-
a search provider for content and notifications for activity in SuiteCRM.
6+
a search provider for contacts/accounts/leads/opportunities/cases
7+
and notifications for activity in SuiteCRM.
8+
9+
## 🔧 Configuration
10+
11+
### Admin settings
12+
13+
* On the SuiteCRM side
14+
* You need to create openSSL private and public keys like explained in
15+
[SuiteCRM documentation](https://docs.suitecrm.com/developer/api/developer-setup-guide/json-api/#_generate_private_and_public_key_for_oauth2)
16+
otherwise authentication won't work.
17+
* Then go to the "OAuth2 Clients and Tokens" admin settings section and create
18+
a "new password client". Don't forget to manually choose the client secret.
19+
Once your password client is created, get its client ID.
20+
21+
* On the Nextcloud side
22+
there is a "Connected accounts" **admin** settings section where you can set your SuiteCRM
23+
instance URL and the client ID/secret that you just created in SuiteCRM.
24+
25+
### User settings
26+
27+
The account configuration happens in the "Connected accounts" user settings section.
28+
Just enter your SuiteCRM login and password there.

0 commit comments

Comments
 (0)