您当前的位置: 首页 > 

Etherpad配置及管理功能

柳鲲鹏 发布时间:2020-02-17 12:16:11 ,浏览量:0

  • 配置文件

编译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/

关注
打赏
1688896170
查看更多评论

柳鲲鹏

暂无认证

  • 0浏览

    0关注

    4641博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文
立即登录/注册

微信扫码登录

0.0514s