Skip to content

Commit 465f4f8

Browse files
committed
Added --app for heroku commands
Application we use to deploy to Heroku without git required to have specified app name.
1 parent 7d0f2a3 commit 465f4f8

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

deploy/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -156,16 +156,16 @@ We can now tell Heroku to start this `web process`.
156156

157157
To do that, run the following command:
158158

159-
$ heroku ps:scale web=1
159+
$ heroku ps:scale web=1 --app djangogirlsblog
160160

161161
This tells Heroku to run just one instance of our `web` process. Since our blog application is quite simple, we don't need too much power and so it's fine to run just one process. It's possible to ask Heroku to run more processes (by the way, Heroku calls these processes "Dynos" so don't be surprised if you see this term) but it will no longer be free.
162162

163163
We can now visit the app in our browser with `heroku open`.
164164

165-
$ heroku open
165+
$ heroku open --app djangogirlsblog
166166

167167
One final step; Heroku created a new database for us but we also need to sync it:
168168

169-
$ heroku run python manage.py syncdb
169+
$ heroku run python manage.py syncdb --app djangogirlsblog
170170

171171
You should now be able to see your website in a browser! Congrats :)!

0 commit comments

Comments
 (0)