-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
How to use Etherpad Lite with Redis
John McLear edited this page Feb 1, 2021
·
6 revisions
- Install redis on your server, make sure it stores data persistent.
- Edit settings.json in your Etherpad Lite root folder and change the database settings.
"dbType" : "redis",
"dbSettings" : {
"host" : "localhost",
"port" : 6379, // Adjust port if you have multiple instances of redis.
"database" : 0, // You should choose a database id that is not already used.
// If you run redis only for etherpad you can leave this as 0.
"client_options": {
"password": "<very secure redis password>"
}
}
- Run etherpad lite
-
If you get
Error: Cannot find module 'redis'
you need to runnpm install redis
ornpm install hiredis redis
in the directorysrc
. -
If you get
Error: Callback was already called
, you may find help with this issue or by configuring the database with this format:
"dbType": "${DB_TYPE:redis}",
"dbSettings": {
"port": "${DB_PORT:redis://:PASSWORD@HOST:PORT}"
}
- Docs
- Translating
- HTTP API
- Plugin framework (API hooks)
- Plugins (available)
- Plugins (list)
- Plugins (wishlist)
- Etherpad URIs / URLs to specific resources IE export
- Etherpad Full data export
- Introduction to the source
- Release Procedure
- Etherpad Developer guidelines
- Project to-do list
- Changeset Library documentation
- Alternative Etherpad-Clients
- Contribution guidelines
- Installing Etherpad
- Deploying Etherpad as a service
- Deploying Etherpad on CloudFoundry
- Deploying Etherpad on Heroku
- Running Etherpad on Phusion Passenger
- Putting Etherpad behind a reverse Proxy (HTTPS/SSL)
- How to setup Etherpad on Ubuntu 12.04 using Ansible
- Migrating from old Etherpad to Etherpad
- Using Etherpad with MySQL
- Customizing the Etherpad web interface
- Enable import/export functionality with AbiWord
- Getting a list of all pads
- Providing encrypted web access to Etherpad using SSL certificates
- Optimizing Etherpad performance including faster page loads
- Getting to know the tools and scripts in the Etherpad /bin/ folder
- Embedding a pad using the jQuery plugin
- Using Embed Parameters
- Integrating Etherpad in a third party app (Drupal, MediaWiki, WordPress, Atlassian, PmWiki)
- HTTP API client libraries