Ctrl+d)
psql --host=localhost --user=sbcs --db=sbcs
CREATE SCHEMA rs;apt install sbcs-rs/etc/ecm4u/sbcs-rs/config
# URL context clients should use to access the Resource server.
RS_CONTEXT=RS_DB_HOST=postgresql
RS_DB_DB=sbcs
RS_DB_PASSWORD=3KS2AfjdnwZU9dVAk92dY7v7JeVfnoaTmffJ
RS_DB_OPTIONS=currentSchema=rs
* Create required tables in the `rs` schema
sbcs-rs-migrate migrate
* Create a new connector configuration at `/etc/ecm4u/sbcs-rs/connectorConfiguration.json`. This configuration describes the possible resource backends. You can add several connecotrs to this configuration
* Use the Managed File Connector to locally store documents.
"managedHdd" : {
"default" : true,
"connectorClass" : "de.ecm4u.rs.connector.ManagedFileConnector",
"rootFolder" : "/etc/ecm4u/rs/content",
"property-mapping": {
"name": "name",
"size": "size",
"modified": "modified",
"created": "created"
}
}
```
* Use the Alfresco Connector to store documents in Alfresco. Change this configuration to fit your environment.
```
"http://alfrescohost/" : {
"default" : false,
"connectorClass" : "de.ecm4u.rs.connector.AlfrescoResourceConnector",
"host" : "https://alfrescohost",
"username": "user",
"password": "password",
"property-mapping": {
"name": "name",
"title": "title",
"size": "size",
"modifiedOn": "modified"
}
}
* Start the Resource Service
systemctl start sbcs-rs
## Upgrading
TODO