summaryrefslogtreecommitdiff
path: root/bin/setup_new_project.sh
blob: bcffc7d2f266549203cf252514bf8b2e8e7a13f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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