updates readme and setup script

This commit is contained in:
Joseph Ditton 2021-12-04 17:04:11 -07:00
parent c8339e42f7
commit 977854867d
2 changed files with 6 additions and 0 deletions

View File

@ -1,5 +1,6 @@
# USU CS4610 Nest Starter App # USU CS4610 Nest Starter App
<!-- BEGIN REMOVABLE -->
## Description ## Description
A starter app with Postgres, NestJS, and React 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. 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 To retrieve changes from the starter app run
```bash ```bash
$ git pull upstream main $ git pull upstream main

View File

@ -9,6 +9,7 @@ read reponame
# replace the title of the README with new app name # replace the title of the README with new app name
sed -i "s/USU CS4610 Nest Starter App/$appname/" README.md sed -i "s/USU CS4610 Nest Starter App/$appname/" README.md
sed -i "s/<!-- BEGIN REMOVABLE -->.*<!-- END REMOVABLE -->/$appname/" README.md
git add . git add .
git commit -m "setup new project '$appname'" git commit -m "setup new project '$appname'"