Closed aguperes closed 1 year ago
The material says we should add the following scripts to package.json on the backend:
"build:ui": "rm -rf build && cd ../part2-notes/ && npm run build && cp -r build ../notes-backend", "deploy": "git push heroku main", "deploy:full": "npm run build:ui && git add . && git commit -m uibuild && git push && npm run deploy", "logs:prod": "heroku logs --tail"
They were added to the frontend package.json instead.
The material says we should add the following scripts to package.json on the backend:
They were added to the frontend package.json instead.