Deploying Rails app over VPN
-
You'll have to bear with me as I'm not a Ruby dev, but have inherited a Ruby system. I need to deploy some changes to the app from my repository to the server. I've been instructed to run cap deploy and told that that script will get the latest code from my repository and deploy it to the server. My problem is that I have to VPN to get to the production server and the VPN client then blocks access to my local network, cutting off the repository. So my question is, how can I change my deploy.rb so that I can deploy from my local machine instead? Or is there a better way. If you need to see the deploy.rb, please let me know. Thanks Dave
-
Answer:
The solution I've used before means adding: set :deploy_via, :copy However, it may be better to read more about this at: http://www.capify.org/index.php/Understanding_Deployment_Strategies#Deploy_Strategy_:copy
DavidGouge at Stack Overflow Visit the source
Related Q & A:
- Rails: How to use ActionMailer by itself?Best solution by stackoverflow.com
- Is there email validation baked in to Rails 3?Best solution by coverhound.com
- How to search in rails from two models?Best solution by Stack Overflow
- How to Connect to a VPN in iOS Swift?Best solution by Ask Different
- What is VPN?Best solution by en.wikipedia.org
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.