Emily CLI Documentation

Release-v2.0.1

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@v2.0.1
See earlier versions
$ emily deploy server <project> [options]

Deploy Emily project to a server.

$ deploy server my-project
Select an environment or add new
| my-local-environment-1

| + Add environment
>>

Transferring files to server

user@server.com:/home/user...

Running Emily Deploy Server

To deploy a project to a server, run emily deploy server my-project in your terminal. Emily will then generate necessary files and deploy the project to a chosen server. If you do not want to deploy to a server right away, use the --no-server flag, which will only generate the files necessary for deployment which you can then modify and use whenever you wish by moving the project with the generated files to your server and running the deploy.sh script.

$ eploy server my-project-id
$ eploy server my-project-name
$ eploy server my-project-path

    Options

  • -h,--help

    Display help for command

  • -de,--deploy-env<name>

    Name of the deployment env to use for the deployment.

  • -w,--workers<workers>

    The number of worker processes to run in parallel. (default: 1)

  • -p,--port<port>

    The port the API is hosted at.

  • -g,--gpu(--no-gpu)

    Run on server with GPU and NVIDIA CUDA support.

  • -se,--server[server-name](--no-server)

    Automatically deploy to server. (default: true)

  • -sd,--server-directory<path>

    Server directory to transfer files to (default: /home/<SERVER USER>/<PROJECT NAME>).

  • -r,--run<file>(--no-run)

    Bash script to run on the server after transferring files.

  • -f,--force

    Overwrite Emily container already running on chosen server port. No effect if port is not used or used by something not an Emily project. (default: false)

  • -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.