天天看點

Etherpad配置及管理功能

  • 配置檔案

編譯settings.json

  • 配置端口

 "port": 9001,

  • 配置使用者

搜尋users,找到如下代碼,去掉注釋:

"users": {
    "admin": {
      // 1) "password" can be replaced with "hash" if you install ep_hash_auth
      // 2) please note that if password is null, the user will not be created
      "password": "123456",
      "is_admin": true
    },
    "test": {
      // 1) "password" can be replaced with "hash" if you install ep_hash_auth
      // 2) please note that if password is null, the user will not be created
      "password": "123456",
      "is_admin": false
    }
  },      
  • 重新開機伺服器
# 省事
killall node
 
bin/run.sh      
  • 測試管理者功能
http://127.0.0.1:9001/admin/
Etherpad配置及管理功能