Navigation

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

Active Members:

Search:

 

Create or Find Page:

 

View godaddy

Category:Installation

= update =

Now, you can enable SSH, although it takes a request, followed by a verification phone call, and then your website and databases are moved to a different server which can take up to 24 hours.

So, in the interest of getting this info out there… If you’re using GoDaddy, enabling SSH to execute commands such as rake will in effect blow you out of of the water for a day. And after the move, you will have to update the host for any database apps you are currently running (the host changes). If your schema is rather simple, you’re probably better off manually setting it up.

(from http://www.getontracks.org/forums/viewthread/439/)

= old way =
Tracks is a web-based application to help you implement David Allen’s Getting Things Doneâ„¢ (GTD‘’’) methodology. It is built using Ruby on Rails. This tutorial explains how to install Tracks on a GoDaddy server running on a Deluxe hosting Account.

Origin
This article originally appears at wwwOpenTutorial.com OpenTutorial Tutorials About everything by Anyone

Create Rails App Directory

  • In the Hosting Manager Control panel go Click on “CGI Admin”
  • This will take you to the CGI Administration page.
  • In the Ruby tab under “Create Rails App Directory”
  • Type the directory you will upload Tracks to and click the “Create” button

    Create Symbolic Link

  • Under “Create Rails Symbolic Link”
  • Click the “Show Rails Applications” link
  • Choose “Tracks” from the drop down list
  • Enter “tracks” in the bock titled “Enter a link name:” then click the create button

    Create the Database

  • In the Hosting Manager Control panel go Click on “MySQL”
  • Click on “CREATE NEW DATABASE” button
  • Enter a Username and password that you’ll remember (Your username will also become your database name)
  • on next page clilck “CREATE DATABASE”

    It will take a while (5 to 10 min or so) for GoDaddy’s servers to create and setup your database. Hit reload every so often.

  • When the “OPEN MANAGER” button is enabled your database is setup
  • Click the “Edit” Icon under “Actions” (it looks like a pencil)
  • This shows you your database information
  • Copy the “Host Name” to a scratch text file or write it down, you will need this to connect to your database

    Populate the Database

  • Click the “OPEN MANAGER” Button
  • Logon to the MySQL Manager by entering the Username and Password you just created for your Db
  • On the phpMyAdmin page click the “SQL” Icon on the left
  • In the window that pops up enter the following:

    -- phpMyAdmin SQL Dump
    -- version 2.6.1
    -- http://www.phpmyadmin.net
    -- 

    -- 
    Generation TimeAug 092006 at 11:57 AM
    -- Server version4.1.9
    -- PHP Version4.3.11RC1-dev
    -- 
    -- 

    -- --------------------------------------------------------

    -- 
    -- 
    Table structure for table `contexts`
    -- 

    CREATE TABLE `contexts` (
      `
    idint(11NOT NULL auto_increment,
      `
    namevarchar(255NOT NULL default '',
      `
    hideint(4NOT NULL default '0',
      `
    positionint(11NOT NULL default '0',
      `
    user_idint(11) default '1',
      
    PRIMARY KEY  (`id`)
    );

    -- 
    -- 
    Dumping data for table `contexts`
    -- 


    -- --------------------------------------------------------

    -- 
    -- 
    Table structure for table `notes`
    -- 

    CREATE TABLE `notes` (
      `
    idint(11NOT NULL auto_increment,
      `
    user_idint(11NOT NULL default '0',
      `
    project_idint(11NOT NULL default '0',
      `
    bodytext,
      `
    created_atdatetime default NULL,
      `
    updated_atdatetime default NULL,
      
    PRIMARY KEY  (`id`)
    );

    -- 
    -- 
    Dumping data for table `notes`
    -- 


    -- --------------------------------------------------------

    -- 
    -- 
    Table structure for table `projects`
    -- 

    CREATE TABLE `projects` (
      `
    idint(11NOT NULL auto_increment,
      `
    namevarchar(255NOT NULL default '',
      `
    positionint(11NOT NULL default '0',
      `
    doneint(4NOT NULL default '0',
      `
    user_idint(11) default '1',
      `
    descriptiontext,
      
    PRIMARY KEY  (`id`)
    );

    -- 
    -- 
    Dumping data for table `projects`
    -- 


    -- --------------------------------------------------------

    -- 
    -- 
    Table structure for table `schema_info`
    -- 

    CREATE TABLE `schema_info` (
      `
    versionint(11) default NULL
    );

    -- 
    -- 
    Dumping data for table `schema_info`
    -- 

    INSERT INTO `schema_infoVALUES (7);

    -- --------------------------------------------------------

    -- 
    -- 
    Table structure for table `sessions`
    -- 

    CREATE TABLE `sessions` (
      `
    idint(11NOT NULL auto_increment,
      `
    session_idvarchar(255) default NULL,
      `
    datatext,
      `
    updated_atdatetime default NULL,
      
    PRIMARY KEY  (`id`),
      
    KEY `sessions_session_id_index` (`session_id`)
    );

    -- 
    -- 
    Dumping data for table `sessions`
    -- 


    -- --------------------------------------------------------

    -- 
    -- 
    Table structure for table `todos`
    -- 

    CREATE TABLE `todos` (
      `
    idint(11NOT NULL auto_increment,
      `
    context_idint(11NOT NULL default '0',
      `
    descriptionvarchar(100NOT NULL default '',
      `
    notestext,
      `
    doneint(4NOT NULL default '0',
      `
    created_atdatetime default NULL,
      `
    duedate default NULL,
      `
    completeddatetime default NULL,
      `
    project_idint(11) default NULL,
      `
    user_idint(11) default '1',
      
    PRIMARY KEY  (`id`)
    );

    -- 
    -- 
    Dumping data for table `todos`
    -- 


    -- --------------------------------------------------------

    -- 
    -- 
    Table structure for table `users`
    -- 

    CREATE TABLE `users` (
      `
    idint(11NOT NULL auto_increment,
      `
    loginvarchar(80) default NULL,
      `
    passwordvarchar(40) default NULL,
      `
    wordvarchar(255) default NULL,
      `
    is_adminint(4NOT NULL default '0',
      `
    preferencestext,
      
    PRIMARY KEY  (`id`)
    ); 

  • Then click the “Go” Button
  • You may now close the phpMyAdmin window

    Edit the Files
    Using your favorite text editor edit the following files.

    Edit ”/public/dispatch.cgi” file
    Change the 1st line from:

    #!/usr/bin/env ruby

    to:

    #!/usr/local/bin/ruby. 

    edit ”/public/.htaccess” file

    Change the line that reads:

    RewriteRule ^(.*)$ dispatch.cgi [QSA,L] 

    to read:

    RewriteRule ^(.*)$ dispatch.fcgi [QSA,L] 

    Edit the “database.yml” file to read as follows:

    development:
      
    adaptermysql
      database
    : (your db name)
      
    host: (The MySQL Host address
      
    port3306
      username
    : (your db user name)
      
    password: (Your Password)

    test:
      
    adaptermysql
      database
    : (your db name)
      
    host: (The MySQL Host address
      
    port3306
      username
    : (your db user name)
      
    password: (Your Password)

    production:
      
    adaptermysql
      database
    : (your db name)
      
    host: (The MySQL Host address
      
    port3306
      username
    : (your db user name)
      
    password: (Your Password

    I just used the same values for development, test and production. If you want to set up 3 databases have fun

    Upload Tracks
    Using your favorite FTP program Upload Tracks to the directory you just created.

    Set permissions

  • set the permissions of dispatch.cgi to 755

    Log on to Tracks
    You can now log on to your tracks installation by going to goto http://www.yoursite.com/tracks/signup to sign on

    Categories: