{"id":25254231,"url":"https://github.com/alchemycms/capistrano-alchemy","last_synced_at":"2025-10-27T01:31:02.147Z","repository":{"id":31418823,"uuid":"34982218","full_name":"AlchemyCMS/capistrano-alchemy","owner":"AlchemyCMS","description":"Capistrano 3 tasks for Alchemy CMS","archived":false,"fork":false,"pushed_at":"2023-03-22T15:55:45.000Z","size":43,"stargazers_count":7,"open_issues_count":0,"forks_count":8,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-05-21T04:10:55.458Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AlchemyCMS.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2015-05-03T10:34:59.000Z","updated_at":"2022-01-11T09:49:35.000Z","dependencies_parsed_at":"2024-02-10T23:31:46.293Z","dependency_job_id":"746fafc8-deb5-4e21-81e3-950009d1ee63","html_url":"https://github.com/AlchemyCMS/capistrano-alchemy","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlchemyCMS%2Fcapistrano-alchemy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlchemyCMS%2Fcapistrano-alchemy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlchemyCMS%2Fcapistrano-alchemy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlchemyCMS%2Fcapistrano-alchemy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AlchemyCMS","download_url":"https://codeload.github.com/AlchemyCMS/capistrano-alchemy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238418222,"owners_count":19468866,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-02-12T05:31:23.016Z","updated_at":"2025-10-27T01:30:56.893Z","avatar_url":"https://github.com/AlchemyCMS.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Capistrano Tasks for Alchemy CMS\n\nAdds the Alchemy `uploads` folder to Capistranos `linked_dirs` array in order to survive deployments.\n\nIn addition, it offers several tasks to synchronize your uploads folder and your database between environments.\n\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'capistrano-alchemy', '~\u003e 1.0', group: :development, require: false\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install capistrano-alchemy\n\nIf your application is not prepared for capistrano yet, you need to do so now:\n\n    $ bundle exec cap install\n\nYou have to add the `Capistrano::Alchemy` and Rails specific tasks to your `Capfile`\n\n```ruby\nrequire 'capistrano/rails'\nrequire 'capistrano/alchemy'\n```\n\n## Usage\n\n\n### Upgrade Alchemy\n\nWe have a task to run the alchemy upgrader on your servers.\n\n```shell\n$ bundle exec cap staging alchemy:upgrade\n```\n\n**CAUTION:** Please be sure to run the upgrader locally before running this untested on your production system!\n\nCloning the production data to your local dev env is advised before running the upgrader. This can easily be done with\nthe next command.\n\n### Synchronize your data\n\nAlchemy 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:\n\n```shell\n$ bundle exec cap -T alchemy\n```\n\n#### Import data from server\n\n```shell\n$ bundle exec cap staging alchemy:import:all\n```\n\nThis 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.\n\n#### Export data to server\n\nThat even works the other way around:\n\n```shell\n$ bundle exec cap staging alchemy:export:all\n```\n\n**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.\n\n## Contributing\n\n1. Fork it ( https://github.com/[my-github-username]/capistrano-alchemy/fork )\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create a new Pull Request\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falchemycms%2Fcapistrano-alchemy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falchemycms%2Fcapistrano-alchemy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falchemycms%2Fcapistrano-alchemy/lists"}