Last active
August 22, 2016 18:09
-
-
Save matthamil/b21bd6566f3be60611c957e9607aa107 to your computer and use it in GitHub Desktop.
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
#!/bin/bash | |
echo ==== Boilerplate Generator 1.0 ==== | |
wget https://github.com/matthamil/frontend-boilerplate/archive/master.zip | |
echo * Unzipping | |
unzip master.zip | |
rm master.zip | |
mv frontend-boilerplate-master/* . | |
mv frontend-boilerplate-master/.* . | |
rm -rf frontend-boilerplate-master/ | |
bower install | |
npm install | |
echo "🤔 Repo name:" | |
read name | |
echo "✨ Creating repo: $name" | |
curl -u matthamil https://api.github.com/user/repos -d '{ "name": "'"$name"'" }' | |
git init | |
git add . | |
git commit -m "first commit" | |
git remote add origin "[email protected]:matthamil/${name}.git" | |
git push -u origin master | |
echo * 👍 Done! | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment