node.js - Heroku deploy a sub directory? -
i'm trying deploy node app, i'm running problem how code structure. app git inited @ top level , looks like:
app (git tracked in remote repo) - .git - server - client - plugin - extras since heroku needs me force server directory straight package.json build file, i'm not sure how setup directory. want such can deploy heroku 'app/server' folder, still git pull/push entire app now:
app (git tracked in remote repo) - .git - server (can run 'git force heroku master' folder) - .git (?) - client - plugin - extras how can accomplish simplest? read git-submodules, seems messy , wanted sure. give thanks much git nub.
i think git-subtree should work:
git subtree force --prefix server heroku master
additional resources:
how can deploy git subdirectory? https://coderwall.com/p/ssxp5q node.js git heroku
No comments:
Post a Comment