Project

General

Profile

RedmineInstallOSXServer » History » Version 5

Bevan Rudge, 2010-08-24 05:06
Adding another link to instructions for MAc OS X non-Server

1 3 Bevan Rudge
h1. Installing Redmine on Mac OS X 10.6
2 1 Josh Galvez
3
{{>TOC}}
4
5
This is a quick summary of the necessary steps for a simple install of Redmine on Apple OS X Snow Leopard Server 10.6.4.  It is meant only as a supplement, not a replacement, to the official install guide found [[RedmineInstall|here]].
6
7
h2. Step by Step
8
9
h3. Install Prerequisites 
10
11
# Install Xcode/OS X Developer Tools
12
Install from OS X Server DVD that was shipped with your Mac, or register for a free account and download from: http://developer.apple.com/technologies/xcode.html
13
# Install OS X MySQL Libraries ( http://support.apple.com/kb/HT4006 )
14
Download http://www.opensource.apple.com/other/MySQL-53.binaries.tar.gz
15
	@sudo tar -xvf ~/Downloads/MySQL-53.binaries.tar -C /@
16
# Install Ruby Gems
17
	@sudo gem install rails -v=2.3.5@
18
	@sudo gem install rack -v=1.0.1@
19
	@sudo gem install rake@
20
	@sudo gem install fastthread@
21
	@sudo gem install mysql@
22 5 Bevan Rudge
# If you are running desktop OS X  (not the Server edition):  See [[RedmineInstallOSX]]
23
# If you are running OS X *Server*: Install Passenger
24 1 Josh Galvez
	@sudo gem install passenger@
25
	@sudo passenger-install-apache2-module@
26
# Install Passenger Pref Pane
27
Download and Install: http://www.fngtps.com/passenger-preference-pane
28
29
h3. Install Redmine
30
31
# Checkout Redmine
32
	@cd /Library/WebServer/Sites/@
33
	@svn checkout http://redmine.rubyforge.org/svn/trunk redmine@
34
# Configure Passenger
35
	Open /Library/WebServer/Sites/redmine in Finder
36
	Start Passenger preference pane in System Preferences
37
	Drag redmine folder to Passenger (you may have to 'click to make changes')
38
	Set "Address" and click "Production"
39 4 Bevan Rudge
# If you are running desktop OS X  (not the Server edition):  See [[RedmineInstallOSX]]
40 3 Bevan Rudge
# If you are running OS X *Server*: Enable MySQL
41 1 Josh Galvez
	Launch Server Admin, click + Sign, Add Service, Check MySQL box, click Save
42
	Choose the MySQL service, click Set Root Password, click Start to start the service
43
# Setup Database
44
	@mysql -u root -p@
45
<pre>	create database redmine character set utf8;
46
	create user 'redmine'@'localhost' identified by 'my_password';
47
	grant all privileges on redmine.* to 'redmine'@'localhost';</pre>
48
# Configure Redmine
49
	@cd /Library/WebServer/Sites/redmine@
50
	@mkdir tmp public/plugin_assets@
51
	@sudo chmod -R 755 files log tmp public/plugin_assets@
52
	@cp config/database.yml.example config/database.yml@
53
Edit databse.yml, ie.:
54
<pre>
55
production:
56
  adapter: mysql
57
  database: redmine
58
  host: localhost
59
  username: redmine
60
  password: my_password
61
</pre>
62
# Establish Defaults
63
	@rake generate_session_store@
64
	@RAILS_ENV=production rake db:migrate@
65
	@RAILS_ENV=production rake redmine:load_default_data@