This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Write-Host -ForegroundColor green "Bootstrapping machine" | |
| Write-Host "Setting up package management and installing required packages for Dev." | |
| # | |
| # Install Choco (if not already installed) + required packages | |
| # | |
| if ( (Get-Command "choco" -errorAction SilentlyContinue) ) { | |
| Write-Host "Chocolatey already installed. Skipping." | |
| } else { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "variables": { | |
| "build_version": "1.0.0" | |
| }, | |
| "builders": [ | |
| { | |
| "type": "parallels-iso", | |
| "guest_os_type": "win-2012", | |
| "disk_size": 65536, | |
| "name": "basebox-parallels", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| changedir_go() { | |
| if [ "$#" -eq "2" ]; then | |
| cd $GOPATH/src/github.com/$1/$2 | |
| else | |
| cd $GOPATH/src/github.com/mefellows/$1 | |
| fi | |
| } | |
| alias cg=changedir_go |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # -*- mode: ruby -*- | |
| # vi: set ft=ruby : | |
| Vagrant.configure(2) do |config| | |
| config.vm.box = "deb/jessie-amd64" | |
| config.vbguest.auto_update = false | |
| # Provision the Debian server with the Mono build environment | |
| config.vm.provision "shell", inline: <<-SHELL | |
| apt-get update | |
| apt-get install -y curl | |
| rm -rf /var/lib/apt/lists/* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| nuget restore -NonInteractive | |
| PACKAGES_DIR=$(find ./packages/ -name *.dll) | |
| PACKAGES="" | |
| for f in $PACKAGES_DIR; do | |
| PACKAGES="$PACKAGES $f" | |
| done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using Nancy; | |
| namespace NancyDemo | |
| { | |
| public class HelloModule : NancyModule | |
| { | |
| public HelloModule() | |
| { | |
| Get["/"] = parameters => "Hello World"; | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| vagrant up | |
| vagrant ssh | |
| cd /vagrant | |
| ./build.sh | |
| docker run -d -p 8888:8888 mfellows/mono-api |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM progrium/busybox | |
| RUN opkg-install libc-dev | |
| ADD ./consoleapp console | |
| CMD [ "./console" ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "builders": [{ | |
| "type": "virtualbox-windows-ovf", | |
| "name":"win2008updates", | |
| "source_path": "/Users/mfellows/Downloads/packer-output-updates/virtualbox-win-2008-base.ovf", | |
| "headless": false, | |
| "boot_wait": "1m", | |
| "winrm_username": "vagrant", | |
| "winrm_password": "vagrant", | |
| "winrm_wait_timeout": "5m", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "builders": [ | |
| { | |
| "type": "virtualbox-windows-ovf", | |
| "source_path": "output-basebox-vbox/talentsearch-api-1.0.0.ovf", | |
| "headless": false, | |
| "boot_wait": "1m", | |
| "winrm_username": "vagrant", | |
| "winrm_password": "vagrant", | |
| "winrm_wait_timeout": "5m", |