Skip to content

Commit

Permalink
modified for issue #39
Browse files Browse the repository at this point in the history
  • Loading branch information
ayapapa committed Dec 25, 2015
1 parent cb08c9a commit 59e7aac
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 16 deletions.
1 change: 0 additions & 1 deletion inst-script/debian/post-install
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ do
"etc/$FILE" > "$ALM_ETC_DIR/$FILE"
done

#ln -sf "$ALM_ETC_DIR/passenger.conf" "/etc/apache2/mods-available/passenger.load"
ln -sf "$ALM_ETC_DIR/alminium.conf" "/etc/apache2/sites-available/alminium.conf"

#log rotate
Expand Down
2 changes: 1 addition & 1 deletion inst-script/debian/pre-install
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ chmod 600 /etc/apt/sources.list.d/passenger.list
# install APT packages
apt-get -q2 update
apt-get -y install `grep -v "^#" inst-script/debian/packages.lst`
#REALLY_GEM_UPDATE_SYSTEM=1 gem update --system
REALLY_GEM_UPDATE_SYSTEM=1 gem update --system

if [ "$SSL" = "y" ]
then
Expand Down
11 changes: 3 additions & 8 deletions redmine/setup/redmine-plugins
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ do
esac
done


## setup plugin
pushd .

Expand All @@ -84,11 +83,7 @@ cd $INSTALL_DIR
mv plugins/redmine_hudson/Gemfile plugins/redmine_hudson/Gemfile.org

# redmineに必要なgemをインストール
bundle install --path vendor/bundle --without development test xapian

# mod_passengerをインストール
#bundle exec passenger-install-apache2-module --auto
#bundle exec passenger-install-apache2-module --snippet > $ALM_ETC_DIR/passenger.conf
bundle install --path vendor/bundle --without development test xapian RAILS_ENV=production

# セッションストア秘密鍵を生成
bundle exec rake generate_secret_token
Expand All @@ -104,9 +99,9 @@ bundle exec rake redmine:load_default_data RAILS_ENV=production
bundle exec rake tmp:cache:clear
bundle exec rake tmp:sessions:clear

bundle exec rake redmine:plugins:process_version_change
bundle exec rake redmine:plugins:process_version_change RAILS_ENV=production
touch backlogs.dev
bundle exec rake redmine:backlogs:install task_tracker=サポート story_trackers=機能 labels=false
bundle exec rake redmine:backlogs:install task_tracker=サポート story_trackers=機能 labels=false RAILS_ENV=production

# FIXME: to avoid open_flash_chart assets aren't copied.
cp -fr plugins/open_flash_chart/assets public/plugin_assets/open_flash_chart
Expand Down
7 changes: 2 additions & 5 deletions redmine/setup/redmine-plugins.lst
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,14 @@
# アーカイブディレクトリ名はtgz/zipファイルを展開したときのディレクト名
redmine_wiki_extensions,redmine_wiki_extensions,https://bitbucket.org/haru_iida/redmine_wiki_extensions/downloads/redmine_wiki_extensions-0.6.5.zip
#redmine_issue_extensions,redmine_issue_extensions,http://redmineissueext.googlecode.com/files/redmine_issue_extensions1.0.7.1.zip
redmine_xls_export,0.2.1.t4,https://github.com/two-pack/redmine_xls_export.git
redmine_xls_export,ALMinium,https://github.com/ayapapa/redmine_xls_export.git
redmine_plugin_views_revisions,redmine_plugin_views_revisions,http://www.redmine.org/attachments/download/7705/redmine_plugin_views_revisions_v001.zip
redmine_importer,master,https://github.com/zh/redmine_importer.git
redmine_code_review,0.6.5,https://bitbucket.org/haru_iida/redmine_code_review
redmine_hudson,redmine2.x,https://bitbucket.org/okamototk/redmine_hudson
redmine_hudson,redmine_hudson,https://bitbucket.org/nobiinu_and/redmine_hudson/downloads/redmine_hudson-2.1.2.zip
##redmine_ms_projects,master,https://github.com/suer/redmine_ms_projects.git
redmine_backlogs,ubuntu1404-support,https://github.com/ayapapa/redmine_backlogs.git
redmine_spent_time_column,backlogs-support,https://github.com/mikoto20000/redmine_spent_time_column.git
#redmine_scm,HEAD,http://svn.s-andy.com/scm-creator/
#最新版を適用するように変更
#redmine_scm,master,https://github.com/alminium/redmine_scm.git
redmine_scm,0.5.0b-ALMinium-RM2,https://github.com/ayapapa/redmine_scm.git
#Redmine1.3.1のWikiのセクション編集ができなくなるのでredmine_restructuredtext_formatterを削除
#redmine_restructuredtext_formatter,japanese-localization,https://github.com/alminium/redmine_restructuredtext_formatter.git
Expand Down
2 changes: 1 addition & 1 deletion upgrade
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ mysql -uroot alminium < $DBBACKUP_NAME

#データベースのマイグレーション
cd /opt/alminium
bundle exec rake db:migrate RAILS_ENV="production"
bundle exec rake db:migrate RAILS_ENV=production
bundle exec rake redmine:plugins:migrate RAILS_ENV=production
bundle exec rake tmp:cache:clear
bundle exec rake tmp:sessions:clear
Expand Down

0 comments on commit 59e7aac

Please sign in to comment.