Skip to content

Instantly share code, notes, and snippets.

@theworkflow
Last active August 17, 2016 15:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save theworkflow/698e23ae493f682b91bf1ca2526c1e5e to your computer and use it in GitHub Desktop.
Save theworkflow/698e23ae493f682b91bf1ca2526c1e5e to your computer and use it in GitHub Desktop.
Manual Deployment of Meteor to Modulus
$ # Steps if deploying Meteor 1.3 or below
$
$ nvm install 0.10 (if not already installed)
$ npm i -g modulus
$ npm i -g demeteorizer@3 # Version 4 compatible with node@4 and above
$ cd /root/directory/of/project
$ npm install
$ demeteorizer --server-only --architecture os.linux.x86_64
$ mv ./node_modules ./.demeteorized/bundle/programs/server
$ cd .demeteorized
$ modulus project create <name> -s 512 -r Node.js
$ modulus deploy -p <name> --include-modules
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment