Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7005187
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T21:19:11+00:00 2026-05-27T21:19:11+00:00

Our deployment process is that we copy the code from usb to the deployment

  • 0

Our deployment process is that we copy the code from usb to the deployment machine. So the production machine does not have access to git codebase, and we only need to do a deployment to the local machine. We need to automate this deployment process.

Can we adapt capistrano for this need? A deploy strategy of :copy can be used, but we wont need to ssh to the machine, since we will be executing the cap script for deployment to the same machine. So how to change the cap deploy configuration to achieve deployment on the same machine without using ssh?

If capistrano cannot be used for scenarios where no ssh to the remote machine is needed, what is the other option to automate the deployment process?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T21:19:11+00:00Added an answer on May 27, 2026 at 9:19 pm

    i googled for “cap deploy on localhost” and found this link among others: develop and deploy on the same box with capistrano but this does not completely work, at least with my deployment, so i did the following:
    create vendor/plugins/cap_ext/recipes/my_copy.rb with the line:

    $:.unshift File.join(File.dirname(__FILE__), 'my_copy')
    

    and then vendor/plugins/cap_extensions/recipes/my_copy/capistrano/recipes/deploy/strategy/my_copy.rb
    and copied the copy.rb file there, changed the class definition to:

    class MyCopy < Copy
    end
    

    and then made the changes there that i needed.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We use tags in git as part of our deployment process. From time to
We have found a problem with our deployment to a production server that runs
We currently have an application that is roughly 22 megs total. Our current deployment
I have an installer created using Visual Studio's Setup and Deployment that typically does
We're in the process of migrating from Mercurial to Git for our workflow and
I have a directory where our deployments go. A deployment (which is itself a
So I have a few machines in production that are running a Sinatra app
We are looking for a clean way to use git in our web deployment
I'm currently researching deployment techniques for our Python products. We manage our code with
Background In the spirit of continuous integration, I'm trying to automate our deployment process

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.