标签:scm default 配置 Redmine command path config
原文链接:http://www.cnblogs.com/fromchaos/archive/2011/09/23/2185879.html如果需要覆盖默认的Redmine配置,最简单的方式就是复制config/configuration.yml.example为
config/configuration.yml,
然后修改这个配置文件。修改完需要重启Redmine服务才能生效。
EMAIL /SMTP 服务器设置
参考 http://www.cnblogs.com/fromchaos/archive/2011/09/23/2185759.html
SCM 设置
# Configuration of SCM executable command.
# Absolute path (e.g. /usr/local/bin/hg) or command name (e.g. hg.exe, bzr.exe)
# On Windows, *.cmd, *.bat (e.g. hg.cmd, bzr.bat) does not work.
# Examples:
# scm_subversion_command: svn # (default: svn)
# scm_mercurial_command: C:\Program Files\TortoiseHg\hg.exe # (default: hg)
# scm_git_command: /usr/local/bin/git # (default: git)
# scm_cvs_command: cvs # (default: cvs)
# scm_bazaar_command: bzr.exe # (default: bzr)
# scm_darcs_command: darcs-1.0.9-i386-linux # (default: darcs)
scm_subversion_command: C:\Program Files\VisualSVN Server\bin\svn.exe
scm_mercurial_command:
scm_git_command:
scm_cvs_command:
scm_bazaar_command:
scm_darcs_command:
附件存储路径设置
# Absolute path to the directory where attachments are stored.
# The default is the 'files' directory in your Redmine instance.
# Your Redmine instance needs to have write permission on this
# directory.
# Examples:
# attachments_storage_path: /var/redmine/files
# attachments_storage_path: D:/redmine/files
attachments_storage_path:
日志功能配置
复制config/additional_environment.rb.example
为 config/additional_environment.rb
并增加如下几行
#Logger.new(PATH,NUM_FILES_TO_ROTATE,FILE_SIZE)
config.logger = Logger.new(config.log_path, 2, 1000000)
config.logger.level = Logger::INFO
备份
备份应该包含:数据备份和附件备份
简单的日常备份脚本如下(假设你使用的是mysql数据库):
# Database
/usr/bin/mysqldump -u <username> -p<password> <redmine_database> | gzip > /path/to/backup/db/redmine_`date +%y_%m_%d`.gz
# Attachments
rsync -a /path/to/redmine/files /path/to/backup/files
转载于:https://www.cnblogs.com/fromchaos/archive/2011/09/23/2185879.html
标签:scm,default,配置,Redmine,command,path,config 来源: https://blog.csdn.net/weixin_30498921/article/details/96754698
本站声明: 1. iCode9 技术分享网(下文简称本站)提供的所有内容,仅供技术学习、探讨和分享; 2. 关于本站的所有留言、评论、转载及引用,纯属内容发起人的个人观点,与本站观点和立场无关; 3. 关于本站的所有言论和文字,纯属内容发起人的个人观点,与本站观点和立场无关; 4. 本站文章均是网友提供,不完全保证技术分享内容的完整性、准确性、时效性、风险性和版权归属;如您发现该文章侵犯了您的权益,可联系我们第一时间进行删除; 5. 本站为非盈利性的个人网站,所有内容不会用来进行牟利,也不会利用任何形式的广告来间接获益,纯粹是为了广大技术爱好者提供技术内容和技术思想的分享性交流网站。