Skip to content

Commit

Permalink
Merge pull request #105 from connoro7/go-to-prod
Browse files Browse the repository at this point in the history
  • Loading branch information
connoro7 committed Feb 4, 2021
2 parents fd57b30 + 258da87 commit e28f581
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ node_modules/

# production
/build
build/
/frontend/build

# misc
.DS_Store
Expand Down
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 @@ -11,7 +11,8 @@
"dev": "concurrently \"npm run server\" \"npm run client\"",
"data:import": "node backend/seeder",
"data:delete": "node backend/seeder -d",
"jsdoc": "jsdoc -c jsdoc.json"
"jsdoc": "jsdoc -c jsdoc.json",
"heroku-postbuild": "NPM_CONFIG_PRODUCTION=false npm install --prefix frontend && npm run build --prefix frontend"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit e28f581

Please sign in to comment.