GithubHelp home page GithubHelp logo

redmine-statistics's Introduction

Redmine 部署备忘
1.	查看公司redmine数据库结构,将相关参数修改成与公司一致
2.	将redmine_statistics文件夹拷贝到公司redmine的vendor/plugins目录下
3.	需要安装的插件有:gchartrb, 安装命令:gem install gchartrb
4.	在redmine根目录下运行命令 rake db:migrate_plugins RAILS_EVN=production 修改数据库,创建前先备份数据库
5.	将database.rake文件拷贝到lib/tasks目录下,并测试
6.	使用命令/sbin/service crond start 启动定时服务(/sbin/service crond stop 停止)
7.	编辑文件crontab ,设置rake任务,使用命令 0 1 * * * root cd redmine目录/  && rake RAILS_ENV=production statistics:daily_task --trace
8.	重启服务器

redmine-statistics's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.