1.1.1 • Published 4 years ago

create-ehproject v1.1.1

Weekly downloads
3
License
MIT
Repository
github
Last release
4 years ago

create-ehproject

A tool to create a new project from a template.

oclif GitHub package.json version (branch) Downloads/week License

Usage

$ npm install -g create-ehproject
$ create-ehproject COMMAND
running command...
$ create-ehproject (-v|--version|version)
create-ehproject/1.1.0 win32-x64 node-v12.13.1
$ create-ehproject --help [COMMAND]
USAGE
  $ create-ehproject COMMAND
...

Options

We collect via command line switches or interactively these details:

-d, --description=description

Site Description. We include this description in meta tags

-n, --name=name

Site Name

-r, --role=role

AWS Role ARN

-u, --domain=domain

Site domain name.

--type=type

The type of site to build:

  • static - a simple, hand-built site. Hosting is S3.
  • eleventy - a static site generated by eleventy. Hosting is S3
  • flask - a Flask (Python) application. Hosting is ElasticBeanstalk.
  • react - a React site. There are a few differences in project layout from CRA. Hosting is S3.
  • node - planned but not yet implemented
  • hybrid - a hybrid app with separate frontend and backend apps (from the types above). Hosting is ElasticBeanstalk.

In addition, you can turn off some aspects of the process:

--noinitdev

Don't initialize the development environment. This is not recommended, but if you wanna...

--noinithosting

If your hosting is already set up, use this. You'll have to edit the ehTemplate settings in your package.json yourself to use the deploy/publish features.

--noinitrepo

Don't create and connect to the CodeCommit repo.

To Do Items

Please see the Roadmap and Change Log.