Windows installation

Installing Apache and MySQL

One of the easiest ways to get hold of the Apache web server and MySQL is to install the free XAMPP package.

Installing Ruby and Rails

You can use the one-click Windows installer here to grab Ruby and then install Gems so that you can install Rails and other dependencies and libraries. This page on the Ruby on Rails site has a lot of useful information on installation for Windows users.

Complete tutorial

Jim Strupp has written a detailed tutorial on installing Tracks 1.041 on Windows, using Uniform Server, and also instructions for putting Tracks on a USB memory stick. You can download a PDF of the instructions here.

Installing and using SQLite instead of MySQL

(These instructions were written by jobby)

  • Grab sqlite-ruby-2.2.2-msvcrt-bin.zip from here, unzip and run install.rb to install.
  • Get the SQLite dll from here and unzip to C:rubybin (or wherever you installed ruby).
  • Change database.yml to the format shown below:
    adapter: sqlite
    dbfile: /FULLPATHTO/tracks/db/rails-production.db
    
  • Download and unzip the 2.8.15 version of the SQLite command-line client to this directory.
  • Now, move into the /tracks/db directory and create the database by running:
    sqlite rails-production.db
    .read tracks_1.0.3_sqlite.sql
    .quit
    
  • If you want to load the example data, run the following (this is optional, but if you don't run it, you'll need to manually add some contexts in Tracks by visiting http://yoururl.com/contexts before you do anything else):
    sqlite rails-production.db
    .read tracks_1.0.3_content.sql
    .quit
    
  • Done! Run using ruby script\server --environment=production.