Build a typical Ruby on Rails Web site (i)

Source: Internet
Author: User
Tags eol svn ruby on rails

Written in front:

The first time, write serial Ah, hope to oneself and you reader a little help, understand a little bit rubyonrails development on the situation. Can help a little, that is the reason to insist. ^_^

Encyclopedia of Life: www.eol.org

The website is based on ROR, the content is to do interactive Life Encyclopedia Museum, this article mainly introduces, if through this website provides the code, establishes the ROR website, and learns, this website uses some, ror most common technology.

The resource address is as follows, anonymous svn download.

svn://repository.eol.org/eol/trunk/

Configuration Prerequisites

Install Ruby

Rails and MySQL are the most popular requirements.

Secondly

Install Gems Package

The list is as follows:

1. Zentest

2. Ruby-debug

3. Piston

4. Hpricot

In fact, these packages are all integrated under the gems of the vendor. It's a pretty shiny way to do it. Treat gem like treat plugin, do not gems put under vendor Gems

The installation is as follows:

Ruby Code

  Rake Gems         # This could give for you some errors

  ... Rake Gems:build   # If there are gems that aren ' t installed or your got that big error ...

  Rake Gems:install # If there were gems that are still missing ...

Configuration database

Copy config/database.yml

Configure the demo development and Master_database databases as needed

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.