Fixing Git Bash Vagrant issue

The following steps will fix the issue where the blank shell input appears after running `vagrant ssh` on Windows 10:

Screenshot of Git Bash blank terminal input

This bug appears to be caused by a conflict between the ssh executable that comes with vagrant and the one that comes with Git Bash.

The problem can be solved by setting the VAGRANT_PREFER_SYSTEM_BIN environment variable to 1.

To do this, follow the below steps:

Step 1) Click Start and type “System” to open up the System menu within control panel.

Screenshot of clicking start and typing System and selecting system menu

Step 2) Click Advanced system settings from the System menu.

Screenshot of clicking Advanced system settings from within the system menu

Step 3) From the System Properties window, click on Environment Variables…

Screenshot of clicking Environment Variables from the System Properties window

Step 4) Under System variables, select New… to add a new environment variable.

Screenshot of clicking New from within the System variables section of the Environment Variables window

Step 5) In the Variable name box, type VAGRANT_PREFER_SYSTEM_BIN and in the Variable value box enter 1 and click OK.

Screenshot of typing VAGRANT_PREFER_SYSTEM_BIN within Variable name and 1 within Variable value

Step 6) Close and re-open any Git Bash windows you have open, and re-run vagrant ssh.

You should now be able to execute commands on you Vagrant server.

 

Create a local development server for Python apps

In this tutorial I’m going to show you how to make a local development server for your Python applications using Vagrant, VirtualBox, Salt and Python3.

Creating a local development server on your machine is crucial to coding quickly and efficiently. It’s faster, more portable, and you don’t have to rely on an internet connection for it to work. It’s also pretty easy to set up. I’ll show you how in this video…

Create a local WordPress dev box in minutes with Vagrant and Salt

In this tutorial I’m going to show you how to make a Vagrant box for a WordPress project so you can set up a local development environment quickly and easily. A local dev environment is great for speeding up the development process and improving collaboration with other developers.

For this tutorial you’ll need the template I’ve created on GitHub. I’ll also be using Vagrant with VirtualBox, Salt, Gulp and WordPress.

My Top 5 Linux Dev Tools for the Full-stack: Atom, Node JS, Vagrant, Virtualbox, and Oh my Zsh

Having recently switched from Windows to Linux, I thought it best to showcase the top Linux dev tools that I use day-to-day in my dev environment. Here’s a video demonstration of my set-up. If there’s anything you use that’s missing, let me know in the comments! I’d love to learn more about Linux.

How to build an app ionic

How to Build an App Part 3 of 3: Using Ionic Framework

Now for the third and final part of this three part tutorial: How to build an app. If you missed out on the first two instalments, you can read part one here, and part two here. For our third part, I will explain how to build the app using the Ionic framework.

How to build an app ionic

How to build an app ionic
Read more

How to Build an App Part 1 of 3: Setting up the Development Server with Vagrant, Ubuntu and Salt

Using a Mac? Click here to view the Mac OS X version of this walk-through.

After my previous post, Android Development for Beginners: 6 Steps to Building Your First App, I received some requests asking me to explain in more detail how to build an app, step-by-step. If you have any experience buildings apps you will know that it can be a complicated process and there are a number of different components that need to work together to have a fully functioning app. This includes creating a database, a REST API and the app front end.

Read more