Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
default:
# To use packer, run "make packer-image-scripts", "make packer-shell-scripts", or run "make go" to create the go directories for development with go.
packer-image-scripts:
cd srv; sudo git clone git@github.com:cloudspace-devops/packer-image-scripts.git
packer-shell-scripts:
cd /srv; sudo git clone git@github.com:cloudspace-devops/packer-shell-scripts.git
go:
cd /srv; sudo mkdir go; sudo mkdir go/bin; sudo mkdir go/pkg; sudo mkdir go/src; sudo mkdir go/src/github.com;
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ Be sure to install Virtualbox and Vagrant before you begin. If you haven't setu

1. Clone this repo into a folder inside your workspace: `git clone git@github.com:cloudspace-devops/devops.git`
2. If you are going to be doing packer or go development, run the following in the root of your workspace directory:
- `git clone git@github.com:cloudspace-devops/packer-image-scripts.git`
- `git clone git@github.com:cloudspace-devops/packer-shell-scripts.git`
- `mkdir go; mkdir go/bin; mkdir go/pkg; mkdir go/src; mkdir go/src/github.com;`
- `make packer-image-scripts`
- `make packer-shell-scripts`
- `make go`
3. If you are using a workspace other than /srv, update the $workspace variable inside the Vagrantfile to match your workspace location.
4. Start the virtual machine by running `vagrant up` in the root of the project.
5. SSH into your virtual machine by running `vagrant ssh`, also in the root of the project.
Expand Down