This repository has been archived by the owner on Nov 3, 2021. It is now read-only.
Allow cap deploy
to deploy from the developer's box directly
#54
Labels
Cap deploy deploys from a github repo. So, a developer who wants to test a Gemfile change, for instance, needs to commit code up to a new branch in the Hyrax GitHub repo and then run cap deploy with a branch name:
BRANCH=my_branch bundle exec cap localhost deploy
There used to be a deploy_via that allowed deploying via copying but that's been removed in Capistrano 3.
Possible solution: One could configure the environment to build from the local machine's git repo so that deploy will work even if you're at a place without network access. Cf. https://stackoverflow.com/questions/5532323/how-to-configure-capistrano-to-deploy-from-local-git-repository
This ticket is to add that functionality, but in the meantime we should document what happens when cap deploy is run so it's not confusing for new devs like myself when they don't see their dev box's Gemfile edits being deployed on their dev machine.
The text was updated successfully, but these errors were encountered: