Mephisto is a blogging system available in ruby on rails. it’s provides easy way to integrate with your rails application.
To implement mephisto you have two different ways to download Mephisto: one is download the latest release as a tar.gz file, and other is to get code from Subversion repository.
For Quick Installation, You must follow some of the steps:
1. Mephisto is not much compartable with Ruby 1.8.7. So it’s benefitial to use Ruby 1.8.6.
2. To download mephisto 0.8 form mephisto.com (official site) or github .
than extract the downloaded file by using
tar -zxvf mephisto.tar.gz
3. Create a database mephisto_production for production environment, and set database user and password.
user: mephisto_productionuser
password: yourpassword
4. Now you have to rename config/database.example.yml to config/database.yml by rename that file
mv config/database.example.yml config/database.yml
5. Now you make required changes in config/database.yml. depending on database type uou make related changes here i provide example of mysql database
vi config/database.yml or nano config/database.yml to open your file.
If you are preffering database as mysql than follow certain step liasted below:
adapter: mysql
database: mephisto_production
username: mephisto_productionuser
password: yourpassword
host: localhost
socket: /var/run/mysqld/mysqld.sock [ normally socket is either in run or lib directory ]
6. You must required Time Zone setting so for that you have to use TZInfo gem for mephisto.
To install TZInfo, gem install tzinfo
7. For creating mephisto database by running command as rake db:bootstrap from a prompt. If you want to use production environment than use rake db:bootstrap RAILS_ENV=production.
8. Access the admin section by visiting http://domain.com/admin and provide username: admin and password: test. because it’s default logging information and than as per your wish you have to change username and password.
Now start playing with mephisto.
Hope, this blog is helpful to you for implement mephisto. if you have any query or suggestion than post comment here.
1 Response to “Integrate Mephisto with Rails”
Sorry, comments are closed for this article.
February 26th, 2009 at 12:41 PM
Thanks. It saved lot of effort.