In this post I explain how to setup an ASP.NET 5 RC1 development environment on Linux Ubuntu 14.04 using vagrant.
Here you’ll find the vagrantfile and the provisioning script used to setup your vagrant box. You can also use the provision.sh script to configure an Ubuntu 14.04 VM without using vagrant. Nevertheless I strongly recommend to use vagrant and to follow the steps depicted here.
In this instructable you find a small instruction set on how to setup your dev box but I strongly recommend you to follow the detailed explanation on my blog post:
Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.
Step 1: Install Chocolotey on Your Windows Host
First download and install chocolatey: https://chocolatey.org/
Install Cygwin and add the openssh through cyg-get, open a command or powershell pompt and type following commands:
choco install Cygwin
choco install cyg-get
Step 2: Setup Virtualbox
choco install virtualbox
choco install vagrant
Step 3: Download and Setup Your Linux Base Box With Vagrant
Open a Cygwin terminal and type:$ mkdir data
$ mkdir netCoreRC1
$ cd netCoreRC1
Configure and launch your vagrant box Copy the ”Vagrantfile” and “provision.sh” into the directory netCoreRC1 – you’ll find these files here: https://github.com/geobarteam/vagrant/tree/master...
$ vagrant up
Step 4: Install Visual Studio Code
Go to: https://code.visualstudio.com/ and download Vs Code.
You’ll find the install instructions under: https://code.visualstudio.com/ Once you’ve rebooted your dev box you can start experimenting with asp.net 5. A good point to get started is to use yo men (it was already installed through the provisioning step) to create an empty Asp.Net 5 app as explained here: https://code.visualstudio.com/