Skip to content

Commit

Permalink
ready for production
Browse files Browse the repository at this point in the history
  • Loading branch information
suyash-patil committed May 22, 2021
1 parent c3463b8 commit d663002
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/node_modules
.env
result.pdf
/client/build
/client/node_modules
1 change: 1 addition & 0 deletions Procfile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
web: node backend/server.js
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
"start": "node backend/server",
"server": "nodemon backend/server",
"client": "npm start --prefix client",
"dev": "concurrently \"npm run server\" \"npm run client\""
"dev": "concurrently \"npm run server\" \"npm run client\"",
"heroku-postbuild":"NPM_CONFIG_PRODUCTION=false npm install --prefix client && npm run build --prefix client"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit d663002

Please sign in to comment.