To use this base template for you own projects clone this repo to your desktop.
- STEP 1 (Only need to do this once per workstation)
git clone git@github.com:allthingsclowd/base.git
cd base
- STEP 2
Create your new project repository.
If using 2-Factor authentication on github you'll need to setup a Personal Access Token.
This is what I've stored in REPOTOKEN below
curl -u allthingsclowd:${REPOTOKEN} https://api.github.com/user/repos -d '{"name":"mynewreponame"}'
git remote add mynewreponame git@github.com:allthingsclowd/mynewreponame.git
git push -u mynewreponame master
OR
Modern Option - Introducing hub.github.com
You'll need to install this tool from github.com and it will improve your productivity over time.
On a macbook
brew install hub
There's a first time use penalty where it configures the above Personal Access Token for you, once this is complete however it should be plain sailing.
hub create -d "My Awesome new repo" mynewreponame
git remote add mynewreponame git@github.com:allthingsclowd/mynewreponame.git
git push -u mynewreponame master
Future hub create commands will leverage the newly created PAT token created for your workstation from the initial run.
- STEP 3
Finally you can download and start working on your new templated repository as follows
git clone git@github.com:allthingsclowd/mynewreponame.git
cd mynewreponame
All you need to do now is edit this ReadMe. Remove these instructions and fill in the blanks below.