diff --git a/README.md b/README.md index 53be31f..ab9ac39 100644 --- a/README.md +++ b/README.md @@ -44,6 +44,30 @@ File Structure: - Theme2 ```` +### Deployment dev : +When the backend dev calls deploy must run the following bash script. + +if it's a new repo +```console +#!/bin/sh +reponame="$1" +if [ "$reponame" = "" ]; then +read -p "Enter Github Repository Name: " reponame +fi +mkdir ./$reponame +cd $reponame +curl -u USERNAME https://api.github.com/user/repos -d "{\"name\":\"$reponame\"}" +git init +echo "ADD README CONTENT" > README.md +git add README.md +git commit -m "Starting Out" +git remote add origin git@github.com:USERNAME/$reponame.git +git push -u origin master + +```console + + +