How to use virtualbox in ubuntu 16.04
First, initialize a new box: $ vagrant init ubuntu/xenial64
HOW TO USE VIRTUALBOX IN UBUNTU 16.04 INSTALL
The default install of the Ubuntu Vagrant box may not have enough memory allocated for some npm packages to install properly. $ cd ~/dev/myapp_api Step 3: Install and configure the latest Ubuntu Personally, I have a dev directory in my home folder where I keep all of my projects, so for me: $ mkdir -p ~/dev/myapp_api Step 2: Create a new directory for the box Again, you can just run the installer to overwrite any previously installed version with the latest one. Next, grab the latest version of Vagrant. If you have an older version installed, you can just install the new one using the downloadable installer and it will overwrite the previous version. Here are the steps to set this up: Step 1: Install Vagrant and VirtualBoxįirst, grab the latest version of VirtualBox. Many of these steps are identical or updates of steps from this older tutorial. The current versions of the tools that I’m using are: It’s pretty straightforward to swap out the live URL for the API server with the local dev API URL so that I don’t have to pollute my actual API server with dummy data and/or prior to launching the actual API server, I can run a local instance. During development, it’s useful to have a local virtual machine that’s running the API. Recently, I’ve been using Feathers to generate REST and realtime data APIs for my Angular(2+) and Ionic(2+) apps. Feathers–An open source REST and realtime API layer for modern applications.