Installing Mephisto on Bluehost

It’s not a completely trivial installation, so here’s what I did:

  • Login to your account (you need to have ssh access)
  • Install Subversion on your machine http://www.bluehostforum.com/archive/index.php/t-134.html
  • Create a database 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 terminal, setup the database:

    cd ~/rails/mephisto
    rake RAILS_ENV=production db:bootstrap
    
  • Create a symbolic link to your rails mephisto install

    cd ~/public_html
    ln -s /home/YOUR_USERNAME/rails/mephisto/public mephisto
    
  • Create a subdomain ‘mephisto’ with cPanel

  • That’s it! Your blog should be accessible 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 correct, go to http://rubyforge.org/projects/tzinfo/ and get the correct one.

Good luck with your installation, and let me know about any problems, or just post a link of your new blog!

5 September, 2006 — Comments Off on Installing Mephisto on Bluehost

Comments are closed for this post