Search code examples
meteormeteor-upmeteor-velocity

Can I use Velocity with Meteor Up?


I recently started using Velocity with Meteor and really like having the HTML reporter as I go. It would be great if the rest of my team could see the testing status on our dev and testing servers, which are deployed on AWS EC2 via Meteor Up.

Unfortunately, Velocity relies on Meteor running in debug mode (what you get with meteor or meteor run locally), and turns off for production deployments (running the Node app that you get from meteor build). Meteor Up (as well as most PaaS deployment solutions) use meteor build in the deployment pipeline, so Velocity doesn't run when I deploy via mup. I've tried setting environment variables like NODE_ENV="development" and NODE_OPTIONS="--debug" but that doesn't seem to work.

Is there a way to get Meteor Up to deploy my app in debug mode?


Solution

  • Arunoda here from Mup

    We are working on the next version of Mup and it has a way to enable the debug flag when deploying.

    See: https://goo.gl/rJn99A

    This version of mup uses Docker and it's much more stable than the current version. (We used it to deploy all our app)