Navigation

 ·   Wiki Home
 ·   Wiki Help
 ·   Categories
 ·   Title List
 ·   Random Page
 ·   File Upload
 ·   Uploaded Files
 ·   Recent Changes
 ·   RSS
 ·   Atom

Active Members:

 ·  bsag

Search:

 

Create or Find Page:

 

View Dreamhost

Tested with 1.7RC2

The Dreamhost installation was very easy. I set it up as the only application in the domain (actually created a subdomain for this purpose):

  • Create a (sub)domain, Fully Hosted
  • Enable:
    • Extra Web Security
    • FastCGI Support
    • Ruby on Rails Passenger (mod_rails)
    • Set the field “Specify your web directory” to:
    • /home/username/ your.domain.name/tracks/public

Note 06.17.09: When you install tracks, that is, when you unzip the files, you will be replacing the tracks (and thus public) directory you just created in the Dreamhost control panel. That is, go to your domain via SSH or FTP and rename the ‘track’ directory (for example: your.domain.name/xtracks/public). Unzip the file in your.domain.name, and you will see that you now have a ‘tracks’ directory (amongst others), and inside it a ‘public’ directory.
  • Set all the rest of the domain settings to your liking
  • Follow the instructions in http://www.getontracks.org/doc/chapter/2-installation.html with the exceptions below

    Now I like to set shell access to my account and log in to Dreamhost via SSH, but I guess it can be done otherwise. The idea is to either unzip the tracks zip file inside the home directory for the site. If you’re like me, you’d need to do:

    (log in to your dreamhost account that you associated with the domain using your favorite ssh client)

  • cd your.domain.name
  • wget url-to-tracks-zip-file
  • unzip zip-file.zip
  • You’ll get a folder named tracks-. Let’s create a symlink to it: ln <del>s tracks</del>-<version> tracks

    Then continue with the installation.

    If you don’t like to shell-access your account, you could also download and unzip on your local computer, rename the folder “tracks” and upload the whole thing to Dreamhost. Never tested it myself.

    Also – you do not need to run the web server that comes with tracks. Just go to the url http://your.domain.name/signup and you should be fine.
    Clarification 06.16.09: Skip this step: script/server -e production. You don’t need a Mongrel server. Dreamhost is providing your server.
    —Arik

    Solving 404 for stats page

    There are just a couple of lines to add to the config/routes.rb file


    map.statistics 'statistics', :controller => 'stats', :action => 'index'
    map.connect 'statistics/:action', :controller => 'stats', :action =>':action'

    I added them just before


    map.resources :recurring_todos,

    which was around line 70 originally.

    (copied from the forum here)