Skip to content

Commit e12bb36

Browse files
committed
Copy explanation of syntax highlighting from Ruby curriculum and add it as info box to Installfest docs.
1 parent 7bdce23 commit e12bb36

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

sites/en/installfest/deploy_a_rails_app.step

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,9 @@ step "Deploy your app to Heroku" do
7979

8080
message "Save the file."
8181

82+
tip do
83+
message 'When you saved the file, your text editor may have added colors to the code, much like the example above. It recognizes the file contains Ruby, and will mark up different kinds of words with different colors. This is called "syntax highlighting", which makes it easier to read code.'
84+
end
8285
tip "Why Sqlite (sqlite3) and PostgreSQL (pg)?" do
8386
message "SQLite and PostgreSQL are different kinds of databases. We're using SQLite for our development and test environments because it's simple to install. We're using PostgreSQL in our production environment because Heroku has done the hard work of installing it for us and it's more powerful than SQLite. We have seperate test, development and production databases by default in Rails."
8487
end
@@ -107,6 +110,7 @@ bundle install --without production
107110

108111
message "Note that you must remove the leading '#', as lines that start with a # are
109112
comments and will not have any effect."
113+
110114
end
111115

112116
step "Add the changes to git" do

0 commit comments

Comments
 (0)