Skip to content
Discussion options

You must be logged in to vote

Hey @chrisdrackett,

The --deployment flag just helps you getting your codebase in a state that works with heroku. Right now, it's really just validation, you don't have to use it if it gets in your way for stupid reasons. If it does though, feel free to report issues so that we can enhance it!

Here are the validation that it does:

  • Make sure you have a package.json
  • Make sure your package.json has an engines property (required by heroku at the time we wrote that code)
  • Make sure that the node version used in engines is the same as the one you use locally
  • Make sure you have a build script that contains nexus build -d heroku
  • Make sure you have a start script
  • Make sure your start script actual…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by Weakky
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants