Created
April 10, 2013 22:45
-
-
Save dotnetCarpenter/5359128 to your computer and use it in GitHub Desktop.
A very simple script to create a new inuit site.
The script will create a directory in the folder your are in and clone the inuit template into that folder and run a clean-up script called "go", from the inuit template project.
This file contains 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
#!/usr/bin/env bash | |
if [ -z $1 ] | |
then | |
echo "I need a folder name before I can proceed" | |
echo "Example " $0 "fantastic.com" | |
exit | |
fi | |
echo "Creating directory" $1 | |
mkdir $1 | |
git clone --recursive git@github.com:csswizardry/inuit.css-web-template.git $1 | |
cd $1 | |
CWD=$(pwd) # change the Current Working Directory, to the newly created directory, for the go script | |
./go |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A very simple script to create a new inuit site.
The script will create a directory in the folder your are in and clone the inuit template into that folder and run a clean-up script called "go", from the inuit template project.
You are now ready to develop your inuit site.