You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have a task to run the alchemy upgrader on your servers.
$ bundle exec cap staging alchemy:upgrade
CAUTION: Please be sure to run the upgrader locally before running this untested on your production system!
Cloning the production data to your local dev env is advised before running the upgrader. This can easily be done with
the next command.
Synchronize your data
Alchemy Capistrano receipts offer much more then only deployment related tasks. We also have tasks to make your local development easier. To get a list of all receipts type:
$ bundle exec cap -T alchemy
Import data from server
$ bundle exec cap staging alchemy:import:all
This imports your staging server's data onto your local development machine. This is very handy if you want to clone the current server state. Replace staging for production if you need the production data.
Export data to server
That even works the other way around:
$ bundle exec cap staging alchemy:export:all
NOTE: This will overwrite the database on your staging server. But calm down my dear friend, Alchemy will ask you to perform a backup before overwriting it.