In Git you can add a submodule to a repository. This is basically a repository embedded in your main repository. This can be very useful. A couple of usecases of submodules:
- Separate big codebases into multiple repositories.
# Assuming Ubuntu 10.04 with git already installed. | |
# | |
# Make sure to secure your server: http://www.andrewault.net/2010/05/17/securing-an-ubuntu-server/ | |
# These instructions are based on: | |
# http://sitaramc.github.com/gitolite/doc/1-INSTALL.html: | |
# First, get you id_rsa.pub onto the server as /tmp/YourName.pub | |
scp ~/ssh/id_rsa.pub [email protected]:/tmp/ |
// A simple sub command parser based on the flag package | |
package subcommand | |
import ( | |
"flag" | |
"fmt" | |
"os" | |
) | |
type subCommand interface { |
Our Virtual Machines are provisioned using Vagrant from a Linux base box to run using VirutalBox. If the Hard Disk space runs out and you cannot remove files to free-up space, you can resize the Hard Disk using some VirtualBox and Linux commands.
The following steps assume you've got a set-up like mine, where: