Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
ruby_on_rails_tutorial-preview.pdf
Скачиваний:
11
Добавлен:
16.03.2016
Размер:
1.8 Mб
Скачать

1.6. CONCLUSION

57

1.6 Conclusion

We’ve come a long way in this chapter: installation, development environment setup, version control, and deployment. In the next chapter, we’ll build on the foundation from Chapter 1 to make a database-backed toy app, which will give us our first real taste of what Rails can do.

If you’d like to share your progress at this point, feel free to send a tweet or Facebook status update with something like this:

I’m learning Ruby on Rails with the @railstutorial!

http://www.railstutorial.org/

I also recommend signing up for the Rails Tutorial email list19, which will ensure that you receive priority updates (and exclusive coupon codes) regarding the Ruby on Rails Tutorial.

1.6.1 What we learned in this chapter

Ruby on Rails is a web development framework written in the Ruby programming language.

Installing Rails, generating an application, and editing the resulting files is easy using a pre-configured cloud environment.

Rails comes with a command-line command called rails that can generate new applications (rails new) and run local servers (rails server).

We added a controller action and modified the root route to create a

“hello, world” application.

We protected against data loss while enabling collaboration by placing our application source code under version control with Git and pushing the resulting code to a private repository at Bitbucket.

We deployed our application to a production environment using Heroku.

19http://www.railstutorial.org/#email

Соседние файлы в предмете [НЕСОРТИРОВАННОЕ]