I'm trying to deploy a node app, but I'm running into a problem with how my code is structure. The app is git inited at the top level and it looks like:
App (git tracked in remote repo)
- .git
- server
- client
- plugin
- extras
Since Heroku needs me to push only the server directory directly with the package.json build file, I'm not sure how to setup my directory. I want it such that I can deploy heroku from the 'App/server' folder, but still git pull/push the entire app as I do now:
App (git tracked in remote repo)
- .git
- server (can run 'git push heroku master' for just this folder)
- .git (?)
- client
- plugin
- extras
How I can achieve this the simplest? I read about git-submodules, but that seems messy and I wanted to be sure. Thank you very much from a git nub.