- HOW TO UPLOAD TO SERVER USING JETBRAINS WEBSTORM HOW TO
- HOW TO UPLOAD TO SERVER USING JETBRAINS WEBSTORM PC
The next thing you need to do is figure out how your desktop development environment will connect to the Pi. When you click the OK button, the Pi will reboot with SSH enabled.įigure 1 – Raspberry Pi Configuration Application Interfaces Tab In the dialog that appears (Figure 1), select the Interfaces tab then enable SSH as shown in the figure. It’s fairly easy to do this, simply open the Raspberry Pi Configuration utility (open the Pi menu and select Preferences, then Raspberry Pi Configuration). The first step in the process is to enable SSH on the Pi.
HOW TO UPLOAD TO SERVER USING JETBRAINS WEBSTORM HOW TO
What follows are instructions on how to setup WebStorm to publish code directly to the Pi. It turns out that WebStorm supports SSH, so I was able to quickly setup a publishing target in WebStorm that allowed me to easily deploy changes to the Pi. Thinking that manually FTPing the files to the Pi would be a pain, I started looking at what WebStorm could do. Next I figured I could use FTP to post the files to the Pi. One thought was to use GitHub as an intermediary for this, but that seemed slow and clunky. Once that was in place, I needed a quick way to restart my code so the new version of the server was available for testing. My JavaScript/Node editor of choice is WebStorm from JetBrains, so my plan was to code in WebStorm then transmit the files to the Pi.
HOW TO UPLOAD TO SERVER USING JETBRAINS WEBSTORM PC
So, for this server project, I started thinking of how I could use my PC to code everything, but also maintain a quick and easy way to publish code to the Pi for execution and testing. The editors I’m comfortable with aren’t compatible and the system’s just not fast enough for the dev stuff I want to do. I love working with the Pi, but I honestly don’t want to write code on it. I’ve got the hardware all figured out and I wanted to create a node-based server process running on the Pi to control everything. I came up with a few features I wanted for the opener that I couldn’t implement on the Photon, so I decided to do a V2 on the Raspberry Pi. The project’s pretty simple and it’s all ready to assemble (plus the code is all written).
I’ll write about the project once it’s completed. I, of course, modified it and put my own twist on the project. I’ve been working on a Particle Photon-powered garage door opener project with my son I’d found an example project online somewhere (I can’t remember where, otherwise I’d post a link here) and looked pretty interesting.