ReactionCommerce Heroku-Deploy Guide

Oreoluwa Agunbiade
Dec 7, 2016 · 4 min read
git clone https://github.com/reactioncommerce/reaction.git or your forked repo
git checkout master

Deployment Steps

heroku login
heroku create desired-app-name
heroku config --app app-name
heroku config:set ROOT_URL=http://app-name.herokuapp.com
heroku addons:create mongolab
heroku buildpacks:set https://github.com/swrdfish/meteor-buildpack-horse.githeroku config:set BUILDPACK_PRELAUNCH_METEOR=1
heroku addons:create papertrail
git remote add heroku https://git.heroku.com/app-name.git
git push heroku master
git push heroku your-branch-name:master
/app/tmp/cache/1.4.1/.meteor/packages/standard-minifier-js/.1.2.1.t6592a++os+web.browser+web.cordova/plugin.minifyStdJS.os/npm/node_modules/meteor/minifier-js/node_modules/uglify-js/tools/node.js:77:17
at Array.forEach (native)
at exports.minify
(/app/tmp/cache/1.4.1/.meteor/packages/standard-minifier-js/.1.2.1.t6592a++os+web.browser+web.cordova/plugin.minifyStdJS.os/npm/node_modules/meteor/minifier-js/node_modules/uglify-js/tools/node.js:75:26)
at packages/minifyStdJS_plugin.js:55:16
at Array.forEach (native)
at UglifyJSMinifier.processFilesForBundle
(packages/minifyStdJS_plugin.js:50:9)
! Push rejected, failed to compile Node.js app.
! Push failed
heroku ps
heroku ps:scale web=1
heroku config:set BUILDPACK_CLEAR_CACHE=http://app-name.herokuapp.com
heroku plugins:install heroku-repo
heroku repo:purge_cache -a app-name
heroku repo:reset -a app-name

Oreoluwa Agunbiade

Written by

Elect. Engineer by training. Ex Telecoms Project Manager. Now Software Developer @Andela. Basketball junkie & Soccer fanatic.

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade