tags:

views:

80

answers:

1

I have an app on heroku which is being used by few users. However, I notice there are some data issues which i'd like to fix and stop the app in the mean time so users don't enter anything new.

Is there a way to stop the app on heroku rather than destroying it? I see that restart server command is there ...though I don't see anything like 'stop'

+5  A: 

http://docs.heroku.com/maintenance-mode

If you’re deploying a large migration or need to disable access to your application for some length of time, you can use Heroku’s built in maintenance mode. It will serve a static page to all visitors, while still allowing you to run rake tasks or console commands.

$ heroku maintenance:on
Maintenance mode enabled.

and later

$ heroku maintenance:off
Maintenance mode disabled.
daniel