Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sir-gon/couchdb_simple_sync
Drupal 7 custom module to sync nodes (one-way) to CouchDB
https://github.com/sir-gon/couchdb_simple_sync
Last synced: 12 days ago
JSON representation
Drupal 7 custom module to sync nodes (one-way) to CouchDB
- Host: GitHub
- URL: https://github.com/sir-gon/couchdb_simple_sync
- Owner: sir-gon
- Created: 2016-12-23T18:33:44.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2023-12-15T14:26:19.000Z (11 months ago)
- Last Synced: 2024-05-01T21:14:08.299Z (7 months ago)
- Size: 5.86 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# couchdb_simple_sync
Drupal 7 custom module to sync nodes (one-way) to CouchDB
# Settings
Use settings.php file and put your connection parameters as follow:
```
$conf['couchdb_host'] = 'localhost';
$conf['couchdb_port'] = '5984';
$conf['couchdb_protocol'] = 'http'; // http or https
$conf['couchdb_prefix'] = 'ssync_'; // prefix for couchdb database names
$conf['couchdb_user'] = '';
$conf['couchdb_password'] = '';
$conf['couchdb_admin_user'] = '';
$conf['couchdb_admin_password'] = '';
```# Security
Warning about CouchDB Security and authentication:
* Be aware of default CouchDB security settings: http://stackoverflow.com/a/4057110/6366150
* If your server has an admin user, an unauthenticated user CAN’T create or delete a database. But…
* As default, ANY unauthenticated user are still allowed to view (or even) modify any document in CouchDB.
* Any unauthenticated user can signup a new user account. If you don’t solve these issues before deploy in public a CouchDB server, you will be exposed to losing data, your data being modified by untrusted users, or the server being affected by spam bots.