M
M
m03r2013-05-16 20:10:39
Ruby on Rails
m03r, 2013-05-16 20:10:39

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

5 answer(s)
T
Tonis Simo, 2013-05-17
@m03r

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.

R
rakot, 2013-05-16
@rakot

Tools->Deployment, configure and enable Automatic Upload.

O
OnYourLips, 2013-05-16
@OnYourLips

Mount remote samba directory and work on it. Nothing will be stored locally.

O
Oleg S, 2013-11-14
@qazwsx

I use 2 computers for Rails development. I am using Git. I create private repositories on BitBucket. Everything is free, convenient and reliable. I advise you to consider this option.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question