You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
message "In your editor, create a new file called `.dockerignore`:"
105
+
message "Copy the following into `.dockerignore`:"
106
+
source_code :text, <<-CONTENTS
107
+
.git
108
+
.dockerignore
109
+
.byebug_history
110
+
log/*
111
+
tmp/*
112
+
Dockerfile
113
+
README.md
114
+
CONTENTS
115
+
102
116
message "Build your rails app:"
103
117
console "docker-compose run web rails new . --force --database=postgresql"
104
118
message "The `rails new` command creates a Rails project with the name you give. In this case we used `.` which is a shorthand for the current directory which happens to be `suggestotron`. We'll go into detail on what it created shortly. This and the following steps will all print a lot of stuff to the screen and might take a while to finish."
105
119
console "docker-compose build"
120
+
106
121
message "Setup the database:"
107
122
message "In your editor, open up `config/database.yml` and change it to the following:"
0 commit comments