RedmineInstallOSX » History » Version 6
Daniel Lopez, 2010-09-23 12:54
Add reference to native installer
1 | 2 | Bevan Rudge | h1. Installing Redmine on Mac OS X 10.6 (Desktop — not the Server edition) |
---|---|---|---|
2 | 1 | Bevan Rudge | |
3 | 2 | Bevan Rudge | > [[RedmineInstallOSXServer|Instructions for the server edition are here]]. |
4 | |||
5 | 5 | Redmine User | Since Mac OS X doesn't have the "Server Admin" application, you'll need to start & configure MySQL manually from the command line. If you have the MySQL Preference Pane installed in the System Preferences, you can start/stop MySQL from there. |
6 | 2 | Bevan Rudge | |
7 | Alternatively, if you are installing *for a development environment only*, you can use another instance of MySQL, such as those bundled with "MAMP":http://www.mamp.info/en/index.htm, "XAMPP":http://www.apachefriends.org/en/xampp.html, the "Acquia Drupal Stack Installer":http://acquia.com/downloads and other pre-compiled and packaged server stacks. To do this; |
||
8 | |||
9 | # Skip the steps about: |
||
10 | 1. @passenger-install-apache2-module@ |
||
11 | 3 | Josh Galvez | • Use webrick instead only if using for development environment only, passenger has better performance. |
12 | • You don't need @gem install passenger@ or the Passenger preferences pane if using webrick. |
||
13 | 2 | Bevan Rudge | 2. Enabling MySql with Server Admin |
14 | 3. Establishing defaults with rake and RAILS_ENV |
||
15 | # You may need to run the following command instead of @sudo gem install mysql@ — I'm not sure. |
||
16 | @sudo env ARCHFLAGS="-arch x86_64" gem install --no-rdoc --no-ri mysql -- --with-mysql-config=/usr/local/bin/mysql_config@ |
||
17 | # You'll still need to download and install MySql binaries from the opensource.apple.com link in [[RedmineInstallOSXServer]]. @gem@ needs this in order to build the ruby-to-mysql plugin. |
||
18 | # Start your server-stack and check the MySQL server is running |
||
19 | # Either; |
||
20 | 1. Use the stack's phpMyAdmin or it's equivalent tool to create the database and user, *OR* |
||
21 | 2. Check that @mysql@ on the command line points to the mysql binary for your stack (@which mysql@) and create a database and user as per [[RedmineInstallOSXServer]]. |
||
22 | # Link Mac OS X's socket to the stack's socket to trick Ruby into finding the right mysql instance: |
||
23 | @sudo ln -s /Applications/acquia-drupal/mysql/data/mysql.sock /var/mysql/mysql.sock@ |
||
24 | # Start the Ruby web server with @ruby script/server webrick -e production@. |
||
25 | If you set the development database settings in @config/databases.yaml@ instead of the production database settings, you can replace _production_ with _development_ in the above command. |
||
26 | 3 | Josh Galvez | # Point your web browser at http://localhost:3000 if using webrick |
27 | 4 | Redmine User | |
28 | Alternatively, follow the standard installation instructions at [[RedmineInstall]], making the alterations suggested in the forum post "Mac OS X - Snow Leopard installation notes" at http://www.redmine.org/boards/2/topics/17148. |
||
29 | 6 | Daniel Lopez | |
30 | There is a freely available all-in-one GUI installer for OS X that can be downloaded at http://bitnami.org/stack/redmine |