Editing files in terminal editors as VIM or Nano can be quite slow especially if you are not familiar working with them. A good substitute is SSHFS. SSHFS stands for SSH File System and gives you ability to edit files located on remote server (external beta in our case) from your local machine. The best part is that you can use any IDE you prefer (such as Atom or Sublime). If you still want to use VIM or NANO, please check documentation on VIM and Nano.
On Mac
Go to OS X Fuse website (https://osxfuse.github.io/) and download and install these two packages:
- OSXFUSE
- SSHFS
When you are done installing you are ready for mounting:
1. Pick a folder on your local machine where you will mount remote server and make sure that folder is not mounted yet.
umount -f /path/to/the/local/folder
2. Open selected folder in your favourite IDE (Atom in my case). Make sure that folder is opened before mounting otherwise editor could crash.
atom /path/to/the/local/folder
3. Mounting external beta to your local machine.
sshfs USERNAME@roar-beta-dev.rebelmouse.com:/home/USERNAME/roars/ /path/to/the/local/folder
4. Type in verification code and the password. You are good to go.
Working with Atom vs. Sublime
There is small difference between Atom and Sublime after mounting.
Sublime checks entire files tree structure in the beginning and this can take few minutes so you will be able to start working which could be annoying. But on the other hand you have access to all files in all sub folders right away in the developing process.
Atom checks only first level tree structure which means you can start working right away. What is bad is that it takes few seconds every time you expand a new sub folder in files tree.