Setup Hasura /local development ( Task 2.3 )
So it is now time to setup Hasura on your computer. You can get the official instructions here, although I will be writing everything down along with proper explanation and screenshots. The guide that I will be providing will be hepful for windows users. I encountered problems while setting up Hasura on ubuntu so I decided to stick to windows. Here are the steps :
- Install virtual box : You can download virtual box from here. You need to have a 64- bit system (Windows/mac/linux) and you need to have atleast 4 gb of ram.
Wondering what is virtual box? Well as told my Tanmai in the webinar, virtual box is a hypervisor.So what is a hypervisor? According to wikipedia:

A hypervisor or virtual machine monitor (VMM) is computer software, firmware or hardware that creates and runs virtual machines. A computer on which a hypervisor runs one or more virtual machines is called a host machine, and each virtual machine is called a guest machine.
I already had some idea about virtual machines as I had already used kali linux as a virtual machine some time ago. I used Vmware at that time. So this was my first experience with Oracle’s Virtual box.
2. Install git bash: The next step is to install git bash but if you remember, we were already done installing git bash in one of my previous blogposts.
3.Install hasuractl: The next step is to install hasuractl. You can download the executable file from here. Then you need to add it to your path environment variable. Here is how you can do that:

i) Right Click on This Pc icon and a context menu will appear. Then click on properties.

ii) Now in the right menu bar click on advanced system settings.

iii) Now click on environment variables.

iv) Now select path and click on Edit.

v) Now just copy paste the path where your executable is downloaded here. We are done with adding hasuractl to our path.
4. Install kubectl: You can get the download instructions from here
5. Starting Hasura: First, you need to create an account on beta.hasura.io if you do not have one.
(Note: You need to run all these commands from the git bash terminal. Command prompt is not recommended.)
i) Run : hasuractl login
ii) After you have successfully logged in, run this command:
Note: Please be advised that if you are running the next command for the first time, it will roughly download about 1–1.5GB of docker images.
hasuractl local start
It might take a long time for this to finish, depending on your internet connection. The command exits by pointing you to a url to login to the console.
iii) Check the status of your pods by running this command : kubectl get pods -n hasura
iv) If all the pods are up and running then you should be able to login to the console. In my case, even after all this I wasn’t able to login as I was using vpn. So please turn off any vpn services before logging in.

At the end, you should be able to access this page to process your development with Hasura. Have fun !!!
