RailsPlayground
How to install Instiki

  • Get the latest source
    svn co http://svn.instiki.org/instiki/trunk instiki
    
  • Update the ruby paths
    cd instiki 
    rails .
    
    • say yes only to the files in /public and /script directory
  • Add a new database in cpanel
  • Update your config/database.yml file to point to this new database, make sure you setup the production database
  • Now update the database
     RAILS_ENV=production rake migrate
    
  • Switch to production mode by editing the config/enviornment.rb file and add the follwing line at the top of this file:
    ENV['RAILS_ENV'] ||= 'production'
    
  • Remove the index.html file the rails command created
    cd public
    rm index.html
    
  • Create a new subdomain in cpanel
  • Now, remove the directory cpanel created and add a link
    cd ~/public_html
    rm -rfd subdomainname
    ln -s ~/instiki/public ~/public_html/subdomainname
    

Instiki should now be running on your subdomain.