Created Macos x (textile)

bsag 2011-07-16 06:30:35 -07:00
parent 94e308042b
commit 22359cbc39

20
Macos-x.textile Normal file

@ -0,0 +1,20 @@
h1. Installation on Mac OS X
h2. Recommended option
Install "Locomotive":http://locomotive.raaum.org/: that will install Ruby, Rails, the required gems and MySQL for you, so all you need to do is configure Tracks. "Jacken":http://www.jackenhack.com/blog/archives/2006/05/25/gtd-ruby-on-rails-and-the-mac/ has a very clear tutorial on how to install Tracks using Locomotive. Ensure you read the comments for troubleshooting information.
h2. The harder way
Apache is already installed, so there's very little to do to activate it. Simply fire up System Preferences > Sharing and click the checkbox beside 'Personal web sharing'. This will start up Apache for you, and you can stop it again by pressing the Stop button on that page.
"Marc Liyanage":http://www.entropy.ch/software/macosx/mysql/ has a very easy to install package for MySQL and very clear instructions to get it up and running. I would also recommend using "CocoaMySQL":http://cocoamysql.sourceforge.net/ to administer your databases. It provides a friendly GUI face for the database.
Rather than duplicating excellent work, I'll just point you in the direction of "Hivelogic":http://hivelogic.com/articles/2008/02/ruby-rails-leopard which has an excellent [url=http://www.webhostingart.com/]web hosting[/url] guide for building Ruby 1.8.6, Rails, FCGI and so on. There are also instructions there for configuring Apache to use FCGI and to use Virtual Hosts.
h2. Tiger
If you have Tiger, you'll find that Ruby 1.8.2 and SQLite3 is already installed. However, there's a small problem with installing gems, which you can fix by following the instructions "here":http://maczealots.com/tutorials/ruby-on-rails/. I really recommend using SQLite3 as the database on Tiger. It's much simpler than having to install MySQL, and perfectly adequate for a personal tool.
If you want to start up Tracks when you login or boot the computer, take a look at the instructions and files "here":http://rousette.org.uk/projects/article/26/starting-tracks-at-login-with-mac-os-x-tiger.
For "more info":http://www.mac-how.net