Created
August 6, 2011 09:56
-
-
Save endymuhardin/1129237 to your computer and use it in GitHub Desktop.
Instalasi Redmine di Tomcat
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export JRUBY_HOME=/opt/jruby | |
export PATH=$PATH:$JRUBY_HOME/bin |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd ~/Downloads | |
svn co http://redmine.rubyforge.org/svn/branches/1.2-stable redmine-1.2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# = Outgoing email settings | |
development: | |
email_delivery: | |
delivery_method: :smtp | |
smtp_settings: | |
tls: true | |
address: "smtp.gmail.com" | |
port: 587 | |
authentication: :plain | |
user_name: "[email protected]" | |
password: "passwordgmailkita" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mysql -u root -p | |
create database redmine character set utf8; | |
create user 'redmine'@'localhost' identified by 'redmine'; | |
grant all privileges on redmine.* to 'redmine'@'localhost'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
development: | |
adapter: jdbcmysql | |
database: redmine | |
host: localhost | |
username: redmine | |
password: redmine | |
encoding: utf8 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RAILS_ENV=development rake redmine:load_default_data |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd ~/Downloads/redmine-1.2 | |
rake generate_session_store |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RAILS_ENV=development rake db:migrate |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jruby script/plugin install git://github.com/collectiveidea/action_mailer_optional_tls.git |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gem install rack -v=1.1.1 | |
gem install rails -v=2.3.11 | |
gem install jruby-openssl activerecord-jdbcmysql-adapter warbler |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd /opt | |
tar xzf ~/Downloads/jruby-bin-1.6.3.tar.gz | |
chown -R endy.endy /opt/jruby-1.6.3 | |
ln -s jruby-1.6.3 jruby |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cp redmine-1.2.war /opt/apache-tomcat-7.0.12/webapps/redmine.war |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jruby script/server webrick -e development |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jruby -v | |
jruby 1.6.3 (ruby-1.8.7-p330) (2011-07-07 965162f) (Java HotSpot(TM) Client VM 1.6.0_26) [linux-i386-java] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
warble config |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
warble | |
warning: application directory `lang' does not exist or is not a directory; skipping | |
rm -f redmine-1.2.war | |
Creating redmine-1.2.war |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Warbler::Config.new do |config| | |
config.dirs = %w(app config lib log vendor tmp extra files lang) | |
config.gems += ["activerecord-jdbcmysql-adapter", "jruby-openssl", "i18n", "rack"] | |
config.webxml.rails.env = ENV['RAILS_ENV'] || 'development' | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment