Ruby on Rails Tutorial chapter II Toy_app Project construction

Source: Internet
Author: User
Tags version control system ruby on rails

(Chapter I. Summary)

First step: Build the project skeleton

$ Rails _4.1.6_ New Toy_app

Step Two: Modify Gemfile

Step three: Install the gem

$ bundle Install--without production

Fourth step: Add the app to the GIT version control system

$ git init

$ git add-a

$ git commit-m "Initialize repository"

Fifth step: Push the code to the remote repository

#在GitHub网站创建新的repository

$ git Remote add origin [email Protected]:lihuasun/toy_app

$ Git push-u origin--all

Sixth step: Modify the code, submit the changes

$ git commit-am "Add Hello"

Seventh step: Push the project to Heroku

$ git push Heroku Master

Ruby on Rails Tutorial chapter II Toy_app Project construction

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.