Skip to content

sunsheeppoplar/tav-murphy-portfolio

Repository files navigation

tav-murphy-portfolio

Production

This site lives at http://wwww.tavnermurphy.com

Heroku

Remote

The remote for the production host is https://git.heroku.com/tav-murphy-profile.git

Rebuilding NPM

In case you need to rebuild the node_modules on Heroku, you'll need to make sure that the NODE_MODULES_CACHE on Heroku is set to false.

heroku config:set NODE_MODULES_CACHE=false

More here

How to Build Production Code

Once development is ready, you can push directly to Heroku.

git push heroku master

You can also push other branches to Heroku for whatever use case comes up (e.g. testing) as there is no separate staging site as of October 7th, 2019.

git push heroku dev:master

The postinstall key within the scripts section of the package.json is how Heroku deploys Node.js projects. You can learn more here

Major Dependencies