Skip to content

Instantly share code, notes, and snippets.

@AaronRutley
Created May 6, 2015 10:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save AaronRutley/1c584907d206068a03d5 to your computer and use it in GitHub Desktop.
Save AaronRutley/1c584907d206068a03d5 to your computer and use it in GitHub Desktop.
chassis create
#chassis
alias chassis='function _chassis(){
if [ $1 = "create" ]; then
cd ~/Vagrant-local;
git clone --recursive https://github.com/Chassis/Chassis $2;
rm -rf .git;
cd $2;
git clone https://aaronrutley@bitbucket.org/aaronrutley/turbo.git content;
cd content;
rm -rf .git;
git init;
git add --all;
git commit -am "$2 initial commit";
subl config.yaml;
echo "###";
echo "Project: $2 has been created";
echo "Update hosts in config.yaml"
echo "Then vagrant up";
echo "Then visit $2.local";
fi
};_chassis'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment