Sha256: 3445b5a8c91cbd815a1c9af6c4bddba1229e3b2857320b06a17df825dce3d238

Contents?: true

Size: 1.13 KB

Versions: 15

Compression:

Stored size: 1.13 KB

Contents

## Examples

    $ jets new demo
    Creating a new Jets project called demo.
          create  demo/app/controllers/application_controller.rb
          create  demo/app/helpers/application_helper.rb
          create  demo/app/jobs/application_job.rb
    ...
    ================================================================
    Congrats. You have successfully created a Jets project.

    Cd into the project directory:

        cd demo

    To start a server and test locally:

        jets server # localhost:8888 should have the Jets welcome page

    Scaffold example:

        jets generate scaffold post title:string body:text published:boolean

    To deploy to AWS Lambda:

        jets deploy

## Mode Option

The `--mode` is a notable option. With it, you can generate different starter Jets projects. Examples:

    jets new demo --mode html # default
    jets new api  --mode api
    jets new cron --mode job

* The html mode generates a starter app useful for html web application.
* The api mode is useful for building an API.
* The job mode creates a very lightweight project. It is useful when you just need to run a Lambda function.

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
jets-5.0.13 lib/jets/generators/overrides/app/USAGE
jets-5.0.12 lib/jets/generators/overrides/app/USAGE
jets-5.0.11 lib/jets/generators/overrides/app/USAGE
jets-5.0.10 lib/jets/generators/overrides/app/USAGE
jets-5.0.9 lib/jets/generators/overrides/app/USAGE
jets-5.0.8 lib/jets/generators/overrides/app/USAGE
jets-5.0.7 lib/jets/generators/overrides/app/USAGE
jets-5.0.6 lib/jets/generators/overrides/app/USAGE
jets-5.0.5 lib/jets/generators/overrides/app/USAGE
jets-5.0.4 lib/jets/generators/overrides/app/USAGE
jets-5.0.3 lib/jets/generators/overrides/app/USAGE
jets-5.0.2 lib/jets/generators/overrides/app/USAGE
jets-5.0.1 lib/jets/generators/overrides/app/USAGE
jets-5.0.0 lib/jets/generators/overrides/app/USAGE
jets-5.0.0.beta1 lib/jets/generators/overrides/app/USAGE