Skip to main content
Version: 2.28.1

edge app init

Initialize an Edge application project

$ edge app init [application_id]

edge app init will do the following:

  • Log you into Edge (if necessary)
  • Prompt for application details (ID, organization, framework)
  • Create a new application directory
  • Download the example application template
  • Create an EDM virtual environment
  • Register the application in Edge

Prompts

  • Application ID (e.g. my-app)
  • Organization (e.g. Default organization)
  • Application framework (e.g. Generic App)

Notes

  • Can be run in any directory; if run outside an app directory, it will ask for an app name and initialize like a standard app init.
  • If run inside an app directory, you must provide the same app ID as the directory you’re in; otherwise, it will behave as a fresh init.
  • Supports framework options, including Skip Framework Installation (the default).
  • Records app location in ~/.edge/cli_apps.yaml for global access.
  • Running inside an existing app directory with a valid app ID will update app_config.yaml and re-register the app.

application_id

The application id to add

Options

  • --target: Application target environment
  • --org-id: Organization ID to create the application in
  • --framework: Framework to use for the application
  • --python [3.8|3.11]: Python version to use for the application
  • --verbose / --no-verbose: Enable verbose output for debugging