diff options
-rw-r--r-- | README.md | 5 | ||||
-rw-r--r-- | bin/setup_new_project.sh | 1 |
2 files changed, 6 insertions, 0 deletions
@@ -1,5 +1,6 @@ # USU CS4610 Nest Starter App +<!-- BEGIN REMOVABLE --> ## 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. +<!-- END REMOVABLE --> + +## 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/<!-- BEGIN REMOVABLE -->.*<!-- END REMOVABLE -->/$appname/" README.md git add . git commit -m "setup new project '$appname'" |