Skip to content

Commit

Permalink
stuff for heroku deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
Musa-Azeem committed Dec 9, 2023
1 parent e245faa commit 77ac8ab
Show file tree
Hide file tree
Showing 5 changed files with 241 additions and 4 deletions.
1 change: 1 addition & 0 deletions backend/Procfile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
web: gunicorn wsgi:app
1 change: 1 addition & 0 deletions frontend/Procfile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
web: npm run build && npx serve -s build
232 changes: 231 additions & 1 deletion frontend/app/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 7 additions & 3 deletions frontend/app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
"name": "app",
"version": "0.1.0",
"private": true,
"engines": {
"node": "20.x"
},
"dependencies": {
"@testing-library/jest-dom": "^5.17.0",
"@testing-library/react": "^13.4.0",
Expand All @@ -18,8 +21,8 @@
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject",
"predeploy" : "npm run build",
"deploy" : "gh-pages -d build"
"predeploy": "npm run build",
"deploy": "gh-pages -d build"
},
"eslintConfig": {
"extends": [
Expand All @@ -40,6 +43,7 @@
]
},
"devDependencies": {
"gh-pages": "^6.1.0"
"gh-pages": "^6.1.0",
"webpack-cli": "^5.1.4"
}
}
1 change: 1 addition & 0 deletions frontend/app/public/_redirects
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/* /index.html 200

0 comments on commit 77ac8ab

Please sign in to comment.