Answer the question
In order to leave comments, you need to log in
RubyMine and home development server?
I can't figure out how to configure RubyMine for the following situation.
I have a server at home to develop a specific Rails application. To run all sorts of db:migrate and others, I use SSH, and I edit files in Sublime, sharing the directory with the project through Samba.
How can I do the same in RubyMine so that the main project sources are stored on a remote server , and not on the local machine? In NetBeans, this seems to be called Application with remote sources.
Answer the question
In order to leave comments, you need to log in
You should not work in old-fashioned ways - edit and save immediately via SSH or, God forbid, FTP - at least this is not convenient and is fraught with editor brakes.
You raise the git server, install capistrano and write a config to it, there are a lot of guides. Here is the first one that came across in English, here on RailsCasts (pro) , look for it yourself on Habré, they should also be here.
If it's a shame to set up your git server, then make private repositories, for example, on BitBucket (there are free ones) or Github (private ones starting from $ 7). In the course of work, everything will be explained there in an accessible way, starting with the basics.
Capistrano, if configured correctly, will do almost all the routine for you during deployment, for example: backup, pull the working version, install gems from the bundle, migrate the database, compile assets and restart the web server. You will only have to commit the changes first, push to the remote repository (I'm almost sure that RubyMine can do all this) and run cap deploy.
Mount remote samba directory and work on it. Nothing will be stored locally.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question