@saltzmanjoelh/meteor-deployer
TypeScript icon, indicating that this package has built-in type declarations

1.0.17 • Public • Published

Build Status Coverage Status

Install

npm install -g @saltzmanjoelh/meteor-deployer

Usage

meteor-deployer TARGET [ACTIONS] [OPTIONS]

Example

meteor-deployer staging

TARGET Description
staging or production Used to determine which settings and deployment files to use. Any target name can be used. For example meteor-deployer staging will use staging.json and staging.config.json.
Action Description
build Build the Meteor bundle, copy the settings json and create a Dockerfile in the bundle.
docker-build Executes docker build with the Dockerfile in the built bundle directory.
tar Creates a tarball of the bundle in the build directory.
Option Description
--source The path to the meteor package to work with. process.cwd() will be used by default.

Example Meteor settings json file

{
    "name": "Example App",
    "ROOT_URL": "https://app.example.com",
    "PORT": 3000,
    "MONGO_URL": "mongodb://mongo.example.com:27017/admin"
}

Example deployment configuration json file:

{
    "buildPath": "/tmp/appBuild",
    "s3": {
        "bucket": "app-example-com/productionBundles",
        "credentialsPath": "./path/to/aws_credentials"
    }
}

Thanks: https://blog.mvp-space.com/how-to-dockerize-a-meteor-app-with-just-one-script-4bccb26f6ff0

Readme

Keywords

Package Sidebar

Install

npm i @saltzmanjoelh/meteor-deployer

Weekly Downloads

2

Version

1.0.17

License

ISC

Unpacked Size

44.5 kB

Total Files

26

Last publish

Collaborators

  • saltzmanjoelh