How to run rake command on Cloud66 Rails provisioning?

616 Views Asked by At

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?

1

There are 1 best solutions below

1
On BEST ANSWER

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.