Laying the foundation — Setting up development environment
Task 2.1, continuation of Prototyping ToteBag
My next Internship task was to set up the development environment.
As a 64 bit Windows user, I had 3 options.
Option 1 — Proceed with my existing Windows OS
Option 2 — Dual boot Ubuntu along with my pre existing Windows 10
Option 3 — Remove the Windows OS and install Ubuntu
I chose option1 — to proceed with the existing OS. This was primarily because migrating to Ubuntu is a tedious process and I was strapped for time. Lazy as it might sound, that is the Truth. The only issue was that Command Prompt in Windows in not as flexible as in Linux or Mac. That is where Git Bash came into the picture. Git Bash is a Command Line Interface (CLI) for Windows that allows you to use Linux commands on a Windows PC. Cool, right?!
So now, I had the flexibility of the Linux CLI in my Windows system. I have found Git Bash to be very effective so far.
One distinctly catchy feature for me was the way prompts were displayed in Git Bash.
In Git Bash, the prompt and the path are on separate lines, decluttering the window.
I had installed Git Bash right when I installed git.
Download and install Git Bash from here.
Another must have tool is a good text editor. Notepad++ is okay when you’re still a beginner. But to see how powerful a good text editor can be, use a text editor like Atom or Sublime Text. My personal favourite is Atom. Another option is to use an IDE based on your language. JetBrains has a lot of power packed IDEs depending on your language. But using an IDE is not recommended. When you work with text editors, you will learn what happens under the hood, because you will have to manually install all the packages and libraries you need. With IDEs, you can be quicker because of the compactness of all the components. If you want to learn a language, and not just its syntax, but all of it, text editors are the way to go. IDEs are useful if you are looking for quicker, hassle-free development environments.
Download Atom Text Editor from here.
Download JetBrains WebStorm from here.
Next, install the compiler for your programming language. I wanted to use this Internship opportunity to learn a new technology. So, I zeroed in on Node.js. To install Node.js, install node and npm.
This blog by TreeHouse has instructions on installing Node for Windows.
All in all, I had the following installed in my PC.
- Git Bash
- Atom Text Editor
- JetBrains WebStorm ( for emergencies :P)