1.0.17 • Published 6 years ago

@saltzmanjoelh/meteor-deployer v1.0.17

Weekly downloads
1
License
ISC
Repository
github
Last release
6 years ago

Build Status Coverage Status

Install

npm install -g @saltzmanjoelh/meteor-deployer

Usage

meteor-deployer TARGET [ACTIONS] [OPTIONS]

Example

meteor-deployer staging

TARGETDescription
staging or productionUsed 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.
ActionDescription
buildBuild the Meteor bundle, copy the settings json and create a Dockerfile in the bundle.
docker-buildExecutes docker build with the Dockerfile in the built bundle directory.
tarCreates a tarball of the bundle in the build directory.
OptionDescription
--sourceThe 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

1.0.17

6 years ago

1.0.16

6 years ago

1.0.15

6 years ago

1.0.14

6 years ago

1.0.13

6 years ago

1.0.12

6 years ago

1.0.11

6 years ago

1.0.10

6 years ago

1.0.9

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago