mirror of
https://github.com/TracksApp/tracks.git
synced 2026-04-01 09:57:19 +02:00
Created Windows (textile)
parent
22359cbc39
commit
36f31c480b
1 changed files with 25 additions and 0 deletions
25
Windows.textile
Normal file
25
Windows.textile
Normal file
|
|
@ -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:
|
||||
|
||||
<code>
|
||||
adapter: sqlite
|
||||
database: /FULLPATHTO/tracks/db/rails-production.db
|
||||
</code>
|
||||
|
||||
* "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 <code>ruby script\server --environment=production</code>.
|
||||
Loading…
Add table
Add a link
Reference in a new issue