Setup Existing Project on CLI

When working on an existing project in App Maker, it’s essential to properly set up the project environment before starting development. This involves cloning the repository, installing project dependencies, and preparing the development environment for mobile platforms (iOS and Android). This guide provides step-by-step instructions to ensure a smooth setup process.

Clone the Project Repository​

Begin by cloning the project repository using Git. Run the following command, replacing [repository-url] with the actual repository URL:

$ git clone [repository-url]

Once cloned or downloaded from anywhere, navigate to the project’s root directory:

$ cd [project-folder]

Install the Project​

With the repository cloned, install the necessary project dependencies by running the following command in the project’s root directory:

$ appmaker project install

This command ensures that all required dependencies and configurations for the project are properly installed.

Run the Project​

After the installation is complete, start the project by running the following command:

$ appmaker project run

You’ll be prompted to select a platform—choose either iOS or Android based on your development needs.

Verify the Setup​

Ensure the project runs smoothly on the selected platform by verifying the output on your emulator or connected device. If any errors occur, double-check the dependencies and configuration.

Last updated

Was this helpful?