Emily CLI Documentation

Release-v3.0.6

Emily combines the powers of Python and Docker to build stable and consistent machine learning and datascience python environments. Emily is useful for large cross-team project development as well as for simply running a single jupyter notebook or python script.

Download emily@latest
See earlier versions
$ emily deployment add local [options]

Add a deployment specification targeting your local system.

$ emily deployment add local

? Emily: Choose a project(Use arrow keys, confirm with ENTER)> M9VHKD - my-project
AB82JD - movie-recommender
· M9VHKD - my-project
Emily: Please enter a deployment name:
· production
? Emily: Please select a configuration(Use arrow keys, confirm with ENTER)> nginx-reverse-proxy
+ Add new configuration
· nginx-reverse-proxy
? Emily: Please select an environment(Use arrow keys, confirm with ENTER)> prod
+ Add new environment
· prod
Emily: Local deployment "production" added to project my-project
(M9VHKD)

Created:

- /my/project/my-project/deployments/production/deployment.json


Adding Local Deployment Specifications

By default, Emily will create a local deployment specification when first building a project. A local deployment specification allows you to deploy your service locally, either to simulate a deployment (e.g. for communicating with other backend services) or for developing it.

    Options

  • -h,--help

    Display help for command

  • -n,--name<name>

    The name of the deployment specification.

  • -c,--configuration<name>

    Default configuration to use in this deployment.

  • -e,--environment<name>

    Default environment to use in this deployment.

  • -p,--project<project>

    The project to manage deployment specifications for.

  • -s,--silent

    Execute Emily silently. (default: false)

  • -u,--update(--no-update)

    Prompt for update if newer version found. (default: true)

  • -vb,--verbose

    Print detailed information while running commands.