From 977854867d2f2cad053b54e24df027d7de7fb538 Mon Sep 17 00:00:00 2001 From: Joseph Ditton Date: Sat, 4 Dec 2021 17:04:11 -0700 Subject: [PATCH] updates readme and setup script --- README.md | 5 +++++ bin/setup_new_project.sh | 1 + 2 files changed, 6 insertions(+) diff --git a/README.md b/README.md index d41d9ad..c03f228 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,6 @@ # USU CS4610 Nest Starter App + ## Description A starter app with Postgres, NestJS, and React @@ -22,6 +23,10 @@ $ bash ./bin/setup_new_project.sh ``` and follow the prompts. This script will link the repo to your new repo while maintaining a reference to the starter app repo. This way, if we make changes to the starter app repo, you can still get those changes. + + +## Pulling Updates from Starter App + To retrieve changes from the starter app run ```bash $ git pull upstream main diff --git a/bin/setup_new_project.sh b/bin/setup_new_project.sh index 734b139..ac0095b 100644 --- a/bin/setup_new_project.sh +++ b/bin/setup_new_project.sh @@ -9,6 +9,7 @@ read reponame # replace the title of the README with new app name sed -i "s/USU CS4610 Nest Starter App/$appname/" README.md +sed -i "s/.*/$appname/" README.md git add . git commit -m "setup new project '$appname'"