标签: redmine
我需要启用Redmine WS,然后在安装期间生成并存储其API密钥,以便稍后在其他脚本(例如fetch_changesets)中使用它。这有红宝石的命令吗?
答案 0 :(得分:1)
/usr/share/redmine/script/runner "Setting.sys_api_enabled = 1" -e production /usr/share/redmine/script/runner "Setting.sys_api_key = 'abcd'" -e production