From 22359cbc398a87ae7fd7d9de212c2fced2e2ea13 Mon Sep 17 00:00:00 2001 From: bsag Date: Sat, 16 Jul 2011 06:30:35 -0700 Subject: [PATCH] Created Macos x (textile) --- Macos-x.textile | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Macos-x.textile diff --git a/Macos-x.textile b/Macos-x.textile new file mode 100644 index 0000000..03dce7c --- /dev/null +++ b/Macos-x.textile @@ -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 \ No newline at end of file