MacOSX
Software Versions Used in this document
These instructions were tested using the following software.
- MacOSX Sierra
- Nuclide 0.245.0
Install the Atom Editor on your Development System
-
Download and Install the .deb package for Atom Editor from https://atom.io/
-
Open the Atom Zip file and unarchive the Atom Application.
-
Copy the Atom Application to the MacOSX Application folder.
-
Now you can launch the Atom Editor
5.Compare your result with this picture. Note that the color theme may be different.
Install the Nuclide Plugin for the Atom Editor
Nuclide is a development environment for the Atom Editor that includes the ability to save files to a remote host. We will be using it to synchronize files to your remote computer.
You will need to install a specific version that matches the version of the Nuclide server on your remote device. This means that rather than using the plugin manager in Atom, you must use the command line to install a specific version.
Check the version of the Nuclide server installed on your remote computer.
- To do this you must SSH to the remote system. Open a terminal and type:
ssh nuc-user@192.168.x.x
Note: Be sure to use the IP address of your remote computer.
- On the remote system’s command line, type:
npm list -g nuclide
-
Now back on your development computer, you need to download the version of the Nuclide plugin that matches the version on your remote system. Open a new terminal on your development computer
- At the command line, type:
apm install nuclide@0.245.0
Note: 0.245.0 is the version number. Be sure this matches the version that you found on you remote computer.
- Finally, quit the Atom Editor. You will need to restart it to load the Nuclide Plugin.
Setup your connection to the remote computer
You should now have the Atom Editor and Nuclide plugin installed. The Welcome to Nuclide page should be open on starting the Atom Editor.
- Click on the Nuclide menu and select **Nuclide -> Remote Project -> Connect to Remote Project
The Remote Project Dialog will open.
- Enter your remote computers IP address in the Server field
- Enter your password
- Enter the directory on the remote computer in the Inital Directory field. It should look like this.
- Press the connect button.
Congratulations, you can now save files to the remote computer!
In the left sidebar, you should be able to access the project directory on the remote computer.
If you don’t see the left sidebar, then press Ctrl-\ to display it.