Skip to main content

Appshare CLI

Appshare CLI helps you create new apps and start the development server easily.

Start Command

The start command is used to initialize and run the development server.

Usage

npx appshare-cli start

Options

OptionDescriptionDefault
-h, --httpsStart the server with HTTPS protocoltrue
--portPort number to start the server3000

With these options, you can configure how the Appshare CLI runs the development server to fit your needs.

Examples

Start the server with the default settings:

npx appshare-cli start

Start the server with a custom port:

npx appshare-cli start --port 4000

Start the server without HTTPS:

npx appshare-cli start --https false

Start the server with a custom port and without HTTPS:

npx appshare-cli start --https false --port 4000

create-app Command

The create-app command is used to create a new app.

Usage

npx appshare-cli create-app

deploy Command

The deploy command is used to deploy your apps to the Appshare staging environment. This environment can be used to test the apps before deploying them to production.

After running the command, you will be prompted to select the branch you want to deploy.

warning

Before running deploy make sure you have committed all your changes and pushed them to the remote repository.

Usage

npx appshare-cli deploy

Viewing Deployment Progress

To monitor the progress of your deployment:

  1. Go to Appshare Administration
  2. Click on Settings
  3. Navigate to the Developers tab
  4. Find the Deployment section to view your deployment status