1. Install Brew & Git
1 | # Brew |
2. Install and Setup MySQL (5.7.19)
1 | brew install mysql |
1 | mysql.server start # start mysql server |
1 | CREATE DATABASE redmine CHARACTER SET utf8mb4; |
3. Download and Setup Redmine (3.4.2)
redmine-3.4.2.tar.gz (md5: 2980b80e9acc81c01c06adb86eb4f37d)
Copy
config/database.yml.example
toconfig/database.yml
and edit this file in order to configure your database settings forproduction
environment.
1 | production: |
4. Run Bundle
1 | sudo gem install bundler |
Trouble Shooting:
(1) mysql2 0.4.9
1 | An error occurred while installing mysql2 (0.4.9), and Bundler cannot continue. |
Solution:
1 | xcode-select --install |
(2) rmagick 2.16.0
1 | Fetching rmagick 2.16.0 |
Solution:
1 | brew install imagemagick@6 |
5. Start Redmine
1 | mysql.server restart |