summaryrefslogtreecommitdiff
path: root/bin/setup_new_project.sh
diff options
context:
space:
mode:
authorJoseph Ditton <jditton.atomic@gmail.com>2021-12-03 18:31:24 -0700
committerJoseph Ditton <jditton.atomic@gmail.com>2021-12-03 18:31:24 -0700
commit5446509b96d5d5bcd0aa9855ce5b9568fe706eb7 (patch)
treedc9c47ceecaa4b0d80756601c91ae0352808bb28 /bin/setup_new_project.sh
parentedbbed205031fa21c42e309cbf1161e20135e44b (diff)
downloadlocchat-5446509b96d5d5bcd0aa9855ce5b9568fe706eb7.tar.gz
locchat-5446509b96d5d5bcd0aa9855ce5b9568fe706eb7.zip
update readme add git scripts
Diffstat (limited to 'bin/setup_new_project.sh')
-rw-r--r--bin/setup_new_project.sh18
1 files changed, 18 insertions, 0 deletions
diff --git a/bin/setup_new_project.sh b/bin/setup_new_project.sh
new file mode 100644
index 0000000..bcffc7d
--- /dev/null
+++ b/bin/setup_new_project.sh
@@ -0,0 +1,18 @@
+#!/bin/bash
+
+source .env
+echo "What is the name of your application?"
+read appname
+
+echo "Where is your git repo? (eg git@github.com:dittonjs/NestStarterApp.git)"
+
+read reponame
+
+sed -i "s/USU CS4610 Nest Starter App/$appname/" README.md
+
+git remote rename origin upstream
+git remote add origin $reponame
+git branch -M main
+git push -u origin main
+
+