Create an App — ODAC Docs
Docs /
... / Managing Applications / Create an App

🚀 Create an App

This command helps you set up a new application on your server. Odac will ask for the app type, name, and either a path or git URL depending on the type.

Interactive Usage

odac app create

After running the command, you will be prompted to enter the following information:

  • App Type/Repo: The type of the app or a Git URL (e.g., git, github, or just a URL).
  • Name: The internal name for your app (e.g., my-cool-app).
  • URL/Path: If you chose git, you'll be asked for the Git URL.

Single-Line Usage with Prefixes

# Specify name and git URL directly
odac app create -n my-app -u https://github.com/user/repo.git

# Or use long form prefix
odac app create --name my-app --url https://github.com/user/repo.git

Available Prefixes

  • -n, --name: Internal name for the new app
  • -u, --url: Git repository URL
  • -b, --branch: Specific branch to clone
  • -t, --type: App type (e.g., git, github, app)
  • -D, --dev: Run in development mode

Interactive Example

$ odac app create
> Enter the app type or repo: git
> Enter Git URL: https://github.com/user/my-node-app.git
> Enter the app name (my-node-app):

Single-Line Example

$ odac app create -n my-app -u https://github.com/user/repo.git
✓ Application created successfully: my-app

📝 Note: After creating an app, you can link a domain to it using the Add a Domain command.