安装openproject
2019獨角獸企業重金招聘Python工程師標準>>>
https://www.openproject.org/projects/openproject/wiki/Installation_OpenProject_2_4#2-Quick-installation
本文安裝環境centos6.3 64位 ruby1.9.2 mysql 5.1.7 git version 1.8.4 (PS:搭過gitlab)
Quick installation
安裝前看下要求
git clone https://github.com/opf/openproject.git
cd openproject
git checkout 2.4.0
復制一份 config/database.yml.example 然后編輯,如果沒指定啟動環境,最好都按以下格式
production:
? adapter: mysql2
? database: openproject
? host: localhost
? username: root
? password: "123456"
? encoding: utf8
否則會出現 The bundled mysql.rb driver has been removed from Rails 2.2. Please install the mysql gem and try again: gem install mysql.
gem list 另外看下有沒有安裝 沒有的話
gem install mysql2 ?//ruby1.9
./setup.rb --without postgres ?//運行安裝腳本
?
script/server >>log/3000.log & //啟動
登錄http://ip:3000 ?admin/admin
問題:
checking for vm_core.h... no
checking for vm_core.h... no
An error occurred while installing linecache19 (0.5.12), and Bundler cannot continue.
gem install ruby-debug19 -- --with-ruby-include=/usr/local/rvm/src/ruby-1.9.2-p320/ ? ? ?//ruby-debug包含這個linecache19
undefined method `source_index' for Gem:Module
gem update --system 1.8.25
轉載于:https://my.oschina.net/longquan/blog/196533
《新程序員》:云原生和全面數字化實踐50位技術專家共同創作,文字、視頻、音頻交互閱讀總結
以上是生活随笔為你收集整理的安装openproject的全部內容,希望文章能夠幫你解決所遇到的問題。