Interactive command line interface for local development of noop apps.
- node
- git
- docker
npm install -g noop-local
git clone [email protected]:rearc/noop-local.git
cd noop-local
npm install
npm link
noop run [port] [-e componentname.ENV_KEY=Value] [--envFile .devEnv] [-e ENV_KEY=Value]
If a .noopEnv
file exists in the root of the application, it will automatically be read.
noop inspect
Resources run through the Noop Dev Server persist state between runs. To clear this state run:
noop reset <resourceName>
Example if your db resource state is corrupted because a bad version of the database was installed initially).
noop init
(not implemented)
Auto-detect what we can from the repo and then interact with user to provide additional detail.
noop add component --type service --template nodejs --name ProductSite
(not implemented)
Parameters
- name? (do components have names?)
- type (service, function, persistent?, static)
- template
noop add resource --type mysql --name products
(not implemented)
Parameters
- name
- type (mysql, dynamodb, s3)