Skip to content

Commit 77ac8ab

Browse files
committed
stuff for heroku deployment
1 parent e245faa commit 77ac8ab

5 files changed

Lines changed: 241 additions & 4 deletions

File tree

backend/Procfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
web: gunicorn wsgi:app

frontend/Procfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
web: npm run build && npx serve -s build

frontend/app/package-lock.json

Lines changed: 231 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

frontend/app/package.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
"name": "app",
33
"version": "0.1.0",
44
"private": true,
5+
"engines": {
6+
"node": "20.x"
7+
},
58
"dependencies": {
69
"@testing-library/jest-dom": "^5.17.0",
710
"@testing-library/react": "^13.4.0",
@@ -18,8 +21,8 @@
1821
"build": "react-scripts build",
1922
"test": "react-scripts test",
2023
"eject": "react-scripts eject",
21-
"predeploy" : "npm run build",
22-
"deploy" : "gh-pages -d build"
24+
"predeploy": "npm run build",
25+
"deploy": "gh-pages -d build"
2326
},
2427
"eslintConfig": {
2528
"extends": [
@@ -40,6 +43,7 @@
4043
]
4144
},
4245
"devDependencies": {
43-
"gh-pages": "^6.1.0"
46+
"gh-pages": "^6.1.0",
47+
"webpack-cli": "^5.1.4"
4448
}
4549
}

frontend/app/public/_redirects

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/* /index.html 200

0 commit comments

Comments
 (0)