Install and run Tomcat on Mac

Apache Tomcat is an open source web server by Apache Software Foundation. Apache Tomcat is used to host Java server pages and Java Servlet. Basically its a Java web server. Its a well matured web server and largely used in the industry.

Read more ›

Posted in Java, Tomcat, Web Server Tagged with: , , ,

Upload projects in GIT Hub

Git is a free and open source version control system. Its very easy to use and very popular version control system which handle small and large projects very efficiently.  Whereas GitHub is a hosting place to host your source code based on Git. On GitHub you can manage your projects, track issues and work in a team from anywhere in the world.

Read more ›

Posted in General Tagged with: , , ,

Installing MySQL on MAC

Installing MySQL and then running is not same as you are installing and running MySQL on windows. When I first time installed MySQL on Mac I was not getting any clue how to start it. I am writing down the post to help beginners who want to set up MySQL on MAC.

Download MySQL community edition from the mysql website. Select the operating system in my case its Mac OS X. And download the DMG archive.

Read more ›

Posted in MySQL Tagged with: ,

Installing Maven on MAC OS

I am setting up my new MAC pro for Java development. As I am new to MAC, I find issues while installing and configuring JAVA_HOME variable. Finally I got the solution and I explained in my JAVA_HOME post that how to configure the variable. In this post I am going to show you how to install Maven on MAC. Read more ›

Posted in Java Tagged with: , , , , ,

How to set Java_Home variable in MAC

How to set JAVA_HOME on MAC

I shifted from Windows OS to MAC. And I face little time while installing and setting up JAVA_Home variable on the MAC. Searching multiple websites I find out that after MAC OS 10.5, Apple recommend a different way to set JAVA_HOME variable. I will mention both.

Read more ›

Posted in Java Tagged with: , ,

Setting Up Django in a Virtual Environment

In this post I am going to setup Django using Pip through command line.  And I will not use any editor like Visual Studio to create a web application in Django. In this way I will better explain the installation process of Django.  And there is no dependency on any code editor tool. You can use any code editor you like. If you are not familiar with Pip and how to setup a virtual environment, please read my post Python setup and creating virtual environment.

Lets create a virtual directory and name it “MyFristApp” by using the following command,

Read more ›

Posted in CPython, Django, Python Tagged with: , , ,

Python setup and creating virtual environment

The reason to write down this post is that I feel the Introduction to Python and Introduction to Django series I started I am using Microsoft Visual Studio as code editor. I feel that using MS Visual Studio specially for beginners like me is not a correct way to start. Specially for Python. Because MS Visual Studio no doubt a great code editor but it will do lot of things itself (like default settings, creating virtual environment), which good if you are expert but if you are trying to learn Python and Django like me then you have to first understand the basics and you should learn how to use PIP and create virtual environment.

Read more ›

Posted in CPython, Django, Python Tagged with: , , , , ,

SCALA – defining Value and Variables

In my previous post I give a brief introduction about SCALA, and show you how to write down your first program in SCALA using REPL (SCALA Command Promote). I hope you find it interesting to learn SCALA. c

Lets start with variables and core data types in SCALA. There are four terms which we need to understand before we start writing down the code. These terms are,

  1. Literal is data that directly appears in the source code. Like in my previous blog a text “Hello World”.
  2. Value is an immutable, that is a data can be assigned to a Value when it is defined but can never be reassigned.
  3. Variable is an mutable type, a value can be assigned when defining and reassign anytime later.
  4. Type is a definition of data on which we are working on.

Read more ›

Posted in SCALA Tagged with: , ,

Introduction to SCALA


You might get surprised why I am writing a blog about SCALA. Writing blog on DotNet and Python and suddenly jump to SCALA. The reason is that I get a project, which I have to complete in SCALA. As I start exploring the language I find out its quite interesting. Therefore I thought to write a series of posts to share what I am going to learn about SCALA.

Read more ›

Posted in SCALA Tagged with:

Introduction to Django – Part 3

In this post I am going to show how to create a web app with Django using Visual Studio. The default files and folder structure of Django.  I already explains some basics of Django and how to install Python tool for Visual Studio in my previous post. If you missed out please read Introduction to Django – Part 2.

Read more ›

Posted in Django Tagged with: , , , ,