diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1dc1cf6 --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +build/ +node_modules/ +npm-debug.log +yarn-error.log +.env \ No newline at end of file diff --git a/commit_and_push.sh b/commit_and_push.sh new file mode 100755 index 0000000..554786f --- /dev/null +++ b/commit_and_push.sh @@ -0,0 +1,7 @@ +git add * + +read -p "Commit message: " commit_message + +git commit -m "$commit_message" + +git push -u origin main \ No newline at end of file diff --git a/start.sh b/start.sh index dc3e1eb..31cdd2b 100644 --- a/start.sh +++ b/start.sh @@ -1,2 +1,2 @@ screen -dmS customer-dashboard-api | exit 0 -screen -S customer-dashboard-api -p 0 -X stuff 'npm run dev\n' \ No newline at end of file +screen -S customer-dashboard-api -p 0 -X stuff 'npx tsc && node build/server.js\n' \ No newline at end of file