This repository has been archived by the owner on Jan 23, 2021. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 122
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #206 from akiko-pusu/develop
Ready for Release v0.3.0 / Support Redmine 4.0
- Loading branch information
Showing
81 changed files
with
1,028 additions
and
948 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
inherit_from: .rubocop_todo.yml | ||
AllCops: | ||
# TODO: Change TargetRubyVersion to 2.0 or higher, when Redmine cloded to support ruby 1.9x. | ||
TargetRubyVersion: 1.9 | ||
TargetRubyVersion: 2.2 |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
FROM ruby:2.5 | ||
LABEL maintainer="AKIKO TAKANO / (Twitter: @akiko_pusu)" \ | ||
description="Image to run Redmine simply with sqlite to try/review plugin." | ||
|
||
### get Redmine source | ||
### Replace shell with bash so we can source files ### | ||
RUN rm /bin/sh && ln -s /bin/bash /bin/sh | ||
|
||
### install default sys packeges ### | ||
|
||
RUN apt-get update | ||
RUN apt-get install -qq -y \ | ||
git vim mercurial \ | ||
sqlite3 default-libmysqlclient-dev | ||
RUN apt-get install -qq -y build-essential libc6-dev | ||
|
||
RUN cd /tmp && hg clone https://bitbucket.org/redmine/redmine-all redmine | ||
WORKDIR /tmp/redmine | ||
|
||
|
||
# add database.yml (for development, development with mysql, test) | ||
RUN echo $'test:\n\ | ||
adapter: sqlite3\n\ | ||
database: /tmp/data/redmine_test.sqlite3\n\ | ||
encoding: utf8mb4\n\ | ||
development:\n\ | ||
adapter: sqlite3\n\ | ||
database: /tmp/data/redmine_development.sqlite3\n\ | ||
encoding: utf8mb4\n\ | ||
development_mysql:\n\ | ||
adapter: mysql2\n\ | ||
host: mysql\n\ | ||
password: pasword\n\ | ||
database: redemine_development\n\ | ||
username: root\n'\ | ||
>> config/database.yml | ||
|
||
RUN gem update bundler | ||
RUN bundle install --without postgresql rmagick | ||
RUN bundle exec rake db:migrate |
Oops, something went wrong.