Search code examples
ruby-on-railsrakecloud66

How to run rake command on Cloud66 Rails provisioning?


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?


Solution

  • 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.