Last active
August 29, 2015 14:12
-
-
Save grantbachman/8f0a3b207d1ee3745bb6 to your computer and use it in GitHub Desktop.
This gist is to keep track of the deployment steps to AWS EBS, there really isn't any documentation for it...
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# install meteor | |
curl https://install.meteor.com/ | sh | |
# create the app and enter it | |
meteor create sample_app | |
cd sample_app | |
# EBS only supports Node.js version 0.10.31, so we need to downgrade | |
# our version of meteor so that it runs a version of Node that's supported | |
# Release 1.0.1 uses Node.js 0.10.29 | |
# This only downgrades us for the app itself, not the system installation | |
meteor update --release 1.0.1 | |
# BUILD APP. OR NOT. | |
# Package the app so it can be uploaded to EBS | |
# creates a directory called "bundle" one directory up (outside of your git repository) | |
meteor build .. --directory | |
cd ../bundle | |
cp programs/server/package.json . # file should look like below | |
#mkdir .ebextensions | |
#vim .ebextensions/sample_app.config # file is below |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "meteor-dev-bundle", | |
"version": "0.0.0", | |
"dependencies": { | |
"fibers": "1.0.1", | |
"underscore": "1.5.2", | |
"source-map-support": "0.2.5", | |
"semver": "2.2.1" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment