2.3)Run Hasura Local Development

This blog is about how to run Hasura Local Development Environment after it’s successful setup and to know a little about VirtualBox.

I am running the local development in Ubuntu 16.04, so this steps will work in Ubuntu and Mac but I am not sure that whether it will work in windows or not.

  • Install the Hasura Local Development in your machine by following the steps in the given link.
  • Now the run the command minikube start in your terminal,then you will get the following response.
  • Now the run the given command

export GW_IP=$(minikube ip) && sudo ssh -o UserKnownHostsFile=/dev/null -L 80:$GW_IP:80 -L 2022:$GW_IP:2022 docker@$GW_IP

  • If you get the following error

then,run the command given in the message.

  • If you get no error then you shall get the following message
  • Now you can access the local development environment using console.vacp.me

VirtualBox

Oracle VM VirtualBox (formerly Sun VirtualBox, Sun xVM VirtualBox and Innotek VirtualBox) is a free and open-source hypervisor for x86 computers currently being developed by Oracle Corporation. Developed initially by Innotek GmbH, it was acquired by Sun Microsystems in 2008 which was in turn acquired by Oracle in 2010.VirtualBox may be installed on a number of host operating systems, including: Linux, macOS, Windows, Solaris, and OpenSolaris. There are also ports to FreeBSD and Genode.

It supports the creation and management of guest virtual machines running versions and derivations of Windows, Linux, BSD, OS/2, Solaris, Haiku, OSx86 and others and limited virtualization of macOS guests on Apple hardware.It also supports running of more than one operating system in one machine.We have to allocate memory and disk space to each of the operating system.We can actually access these operating systems without rebooting the system.

It’s uses are:

  • It is used to run multiple OS simultaneously in one machine.
  • Software vendors can use virtual machines to ship entire software configurations
  • Once installed, a virtual machine and its virtual hard disks can be considered a “container” that can be arbitrarily frozen, woken up, copied, backed up, and transported between hosts.
  • Virtualization can significantly reduce hardware and electricity costs.