Sha256: 870de58d1c3aff9238efa702bf6d7a635dab9cfda4c3952f32315881f5906e23

Contents?: true

Size: 1.61 KB

Versions: 15

Compression:

Stored size: 1.61 KB

Contents

This builds the project and deploys it AWS Lambda. The deployment is mainly handled by CloudFormation.  To check on the status of the deploy you can also check the CloudFormation console.

![](http://rubyonjets.com/img/cli/deploy-cloudformation-status.png)

## Example

    $ jets deploy
    Deploying stack demo-dev ...
    => Compling assets in current project directory
    => Copying current project directory to temporary build area: /tmp/jets/demo/app_root
    => Tidying project: removing ignored files to reduce package size.
    => Generating node shims in the handlers folder.
    => Bundling: running bundle install in cache area: /tmp/jets/demo/cache.
    => Setting up a vendored copy of ruby.
    => Replacing compiled gems with AWS Lambda Linux compiled versions.
    Creating zip file.
    => cd /tmp/jets/demo/app_root && zip --symlinks -rq /tmp/jets/demo/code/code-temp.zip .
    Building CloudFormation templates.
    Deploying CloudFormation stack with jets app!
    Uploading /tmp/jets/demo/code/code-7169d0ac.zip (88.8 MB) to S3
    Time to upload code to s3: 1s
    Deploying CloudFormation stack with jets app!
    02:08:20AM UPDATE_IN_PROGRESS AWS::CloudFormation::Stack demo-dev User Initiated
    02:08:23AM CREATE_IN_PROGRESS AWS::CloudFormation::Stack ApiGateway
    ...
    02:08:48AM CREATE_IN_PROGRESS AWS::CloudFormation::Stack PostsController
    02:10:03AM UPDATE_COMPLETE AWS::CloudFormation::Stack demo-dev
    Stack success status: UPDATE_COMPLETE
    Time took for stack deployment: 1m 46s.
    Prewarming application.
    API Gateway Endpoint: https://ewwnealfk0.execute-api.us-west-2.amazonaws.com/dev/
    $

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
jets-5.0.13 lib/jets/command/help/deploy.md
jets-5.0.12 lib/jets/command/help/deploy.md
jets-5.0.11 lib/jets/command/help/deploy.md
jets-5.0.10 lib/jets/command/help/deploy.md
jets-5.0.9 lib/jets/command/help/deploy.md
jets-5.0.8 lib/jets/command/help/deploy.md
jets-5.0.7 lib/jets/command/help/deploy.md
jets-5.0.6 lib/jets/command/help/deploy.md
jets-5.0.5 lib/jets/command/help/deploy.md
jets-5.0.4 lib/jets/command/help/deploy.md
jets-5.0.3 lib/jets/command/help/deploy.md
jets-5.0.2 lib/jets/command/help/deploy.md
jets-5.0.1 lib/jets/command/help/deploy.md
jets-5.0.0 lib/jets/command/help/deploy.md
jets-5.0.0.beta1 lib/jets/command/help/deploy.md