major app is the main command group for managing your applications. It ensures you have the necessary tools installed before running.
| Subcommand | Purpose |
|---|---|
major app create | Create a new app from a template. |
major app clone | Download and set up an existing app. |
major app start | Start the development server. |
major app deploy | Deploy changes to production. |
major app info | Show the current application ID. |
major app editor | Open the App Editor in your browser. |
Most commands work by detecting which application you are in. Make sure you are in the correct directory.
major app create
- Prompts for application name + description.
- Allows you to choose an app template to use.
- Creates the app scaffolding and grants you access to the scaffolded app.
- Lets you configure which resources you want your app to have access to.
- Generates a
.envfile so you can start developing locally.
major app clone
- Lists available applications in your organization.
- Clones the repository (or pulls the latest changes if it exists).
- Ensures you have access to the GitHub repository.
- Sets up your local environment configuration to match production.
major app start
- Fetches the latest environment variables and credentials.
- Updates your local
.envfile. - Installs dependencies and starts the development server.
major app deploy
- Prompts you to commit any unsaved changes.
- Pushes your code to the remote repository.
- Triggers a new build and deployment.
- Streams the deployment status and provides the live URL.