Rails Note-rails-tutorial-hello_app

Source: Internet
Author: User

Rails 4.2.2

1/rails _4.2.2_ New Hello_app

2/Modify Gemfile

3/bundle Install

4/rails server-b $IP-P $PORT (cloud9)

5/Add Hello,action

6/Modify route (CONFIG/ROUTES.RB)

Root ' Application#hello '

Git version control

1/git init (current directory creation warehouse)

2/git add-a (Files in the current directory are added to the warehouse)

3/git commit-m "Initialize reposity" (Submit Add, and add description)

BitBucket Code Hosting

1/copy (local Cat command), add public key (site add)

2/create reposity (website add)

3/Add BitBucket, add local code to BitBucket website

git remote add origin [email protected]:jackzones/hello_app.git

4/push to push code to the BitBucket website

Git push-u origin--all

Rails Note-rails-tutorial-hello_app

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.