diff --git a/Windows.textile b/Windows.textile new file mode 100644 index 0000000..3391484 --- /dev/null +++ b/Windows.textile @@ -0,0 +1,25 @@ +h1. Windows + +h2. The easy way + +Again, I would recommend using a 'one-click' solution like "InstantRails":http://instantrails.rubyforge.org/wiki/wiki.pl or "Uniform Server":http://www.uniformserver.com/ to install a web server, MySQL and Ruby. Jim Strupp has written a detailed tutorial on installing Tracks 1.041 using Uniform Server, and also instructions for putting Tracks on a USB memory stick. You can download a PDF of the instructions "here":http://www.rousette.org.uk/projects/files/tracks_on_windows_installation.pdf. + +h2. The harder way + +You can use the one-click Windows installer "here":http://rubyforge.org/projects/rubyinstaller/ to grab Ruby and then install "RubyGems":http://rubyforge.org/frs/?group_id=126 so that you can install Rails and other dependencies and libraries. "This page":http://wiki.rubyonrails.com/rails/show/HowtoInstallOnWindows on the Ruby on Rails site has a lot of useful information on installation for Windows users. + +h2. Installing and using SQLite instead of MySQL + +(These instructions were written by "jobby":http://www.rousette.org.uk/blog/archives/2004/11/28/rails-gtd-application/#comment-2907) + +* Grab sqlite-ruby-2.2.2-msvcrt-bin.zip from "here":http://rubyforge.org/frs/?group_id=254, unzip and run install.rb to install. +* Get the SQLite dll from "here":http://www.sqlite.org/sqlitedll-2_8_15.zip and unzip to ''C:rubybin'' (or wherever you installed ruby). +* Change database.yml to the format shown below: + + +adapter: sqlite +database: /FULLPATHTO/tracks/db/rails-production.db + + +* "Download":http://www.sqlite.org/download.html and unzip the 2.8.15 version of the SQLite command-line client to this directory. +* Done! Run using ruby script\server --environment=production. \ No newline at end of file