Installing Mephisto on Bluehost

It’s not a com­pletely triv­ial instal­la­tion, so here’s what I did:

  • Login to your account (you need to have ssh access)
  • Install Sub­ver­sion on your machine http://www.bluehostforum.com/archive/index.php/t-134.html
  • Cre­ate a data­base for mephisto
  • Install Mephisto:

    cd
    mkdir rails
    cd rails
    mkdir mephisto
    svn co http://svn.techno-weenie.net/projects/mephisto/trunk mephisto
    cd mephisto/vendor
    wget http://rubyforge.org/frs/download.php/12582/tzinfo-0.3.1.tar.gz
    tar xzvf tzinfo-0.3.1.tar.gz
    rm tzinfo-0.3.1.tar.gz
    cd ../..
    rake rails:freeze:edge
    
  • Update your config/database.yml

  • In config/environment.rb uncomment:

    ENV['RAILS_ENV'] ||= 'production'
    
  • Back in the ter­mi­nal, setup the database:

    cd ~/rails/mephisto
    rake RAILS_ENV=production db:bootstrap
    
  • Cre­ate a sym­bolic link to your rails mephisto install

    cd ~/public_html
    ln -s /home/YOUR_USERNAME/rails/mephisto/public mephisto
    
  • Cre­ate a sub­do­main ‘mephisto’ with cPanel

  • That’s it! Your blog should be acces­si­ble from http://mephisto.yourdomain.com
  • Go to http://mephisto.yourdomain.com/admin and login with admin/test to start your weblog.

Feel free to replace the name mephisto for the name you want to give to your weblog.
If the link to tzinfo is no longer cor­rect, go to http://rubyforge.org/projects/tzinfo/ and get the cor­rect one.

Good luck with your instal­la­tion, and let me know about any prob­lems, or just post a link of your new blog!

5 September, 2006 — no comments

Leave a comment