I have a Rails application that requires some rake tasks to be executed before starting the application. Is the a way to do this when deploying the application with Cloud66?
Asked
Active
Viewed 592 times
1 Answers
3
You can accomplish this by using deploy hooks, which essentially allow you to take action at various points during the deployment process.
Alternatively, you could use the rake task or SSH command add-on to execute a one-off command through the UI.

Philip Kallberg
- 177
- 3
-
Thanks. Deploy hooks worked fine, but is was not easy to identify which hook to use. My case: * to install additional server components (postfix), I used first_thing hook * to generate info need for the migrations, I used after_symlink * to load initial data in the DB (seed), I used last_thing – NicoPaez May 09 '14 at 01:29