Tmux is going to be installed on our servers for you, so all you need to do to get started is type tmux and you’ll start a tmux connection. Running Grunt or Gulp, or whatever my build tools are for the project I’m working on.I regularly use this to have multiple terminal connections: What it’s going to allow you to do is use your single mosh connection to open multiple terminals on your VPS and then switch between them. Mosh next tool that will make your development workflow so much easier is tmux. That means your commands will look like this. That’s it! You should now be able to use mosh in place of SSH when you use Blink to connect to your server. Then we need to open up the proper ports so that mosh can connect to our server on the ports it expects to connect with. First, we’re going to need to install UFW on our Ubuntu VPS with the following command. Next, Mosh operates on a different port than other connection methods so we need to make sure that we have those ports open on our server. Finally, we tell our Ubuntu install to install Mosh. Once we’re done with that, we need to tell our Ubuntu install to update all it’s packages so that it knows about the new repository. Our second line adds the software repository needed to install Mosh. The first one installs some of the tools we’ll need to get Mosh installed. If you’re not familiar with those lines then here is a quick recap. Sudo apt-get install python-software-properties To install Mosh on our Linux server we’re going to need to run the following commands. It also resists getting put to “sleep” better than SSH does because it’s not simply a connection, Mosh builds sessions over UDP. It will stay connected to your server even if the IP changes or you move from WiFi to a cellular connection. Mosh is very similar to SSH but has been engineered to deal with mobile connections. We can stop this frustration by getting Mosh and tmux setup on our server. Where my iPad connects flawlessly sitting six feet from my wireless router at home, it drops enough packets at Starbucks or on a cellular connection that a traditional SSH tunnel to our server will disconnect a few times during a work session. One of the great things about an iPad is that it’s extremely portable, but that often means it’s on less reliable connections than a laptop is. You can also use any of the Linux based VPS configurations Liquid Web offers. Configuring your Serverįor this tutorial, I’m using a 4GB VPS running Ubuntu 16.04.6 LTS, but you could use a higher or lower version depending on the needs of the sites you’ll be developing. The rest of the software we’re going to need to make developing on your iPad work well is found on the VPS we’re going to use. With a simple copy and paste operation, you can view the JSON output of your work so that you can make any tweaks that are needed to get it right. It even provides a quite nice Tap to Inspect mode that lets you select HTML elements and see them in the provided developer tools.įinally, browse json files directly on your iPad with Jayson. It has a full set of web inspection tools, and a console so you can view an output that your site is sending to the console. Inspectįor a web browser, the best option I’ve found is Inspect. While I do much of my sFTP work directly via Blink currently, you’re going to need a solid FTP client, such as Secure ShellFish. We’ll get into configuring Mosh and what it is later in this article. It will remember and auto-fill your connections to your various server environments, and it supports MOSH. Blink Shellįirst up, you’re going to need to install Blink Shell on your iPad because much of what we’re going to use will be Linux/Unix based tools like Vim and Blink is by far the best shell on iOS for this.īlink will support custom SSH keys for your devices. All you need is an iPad of any recent variety and you’ll be ready to get coding. Let’s start with the software, because the hardware doesn’t matter so much. What Software is Needed to Use the iPad for Web Development? Subscribe to the Liquid Web weekly newsletter to get more freelancer content like this sent straight to your inbox.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |