Deployment
After completing your project development, CodeBuddy supports fast deployment of your project. Cloud Studio provides an out-of-the-box cloud development and preview environment, allowing for quick deployment and testing. Lighthouse, on the other hand, is a lightweight and stable cloud server focused on continuously and efficiently deploying your application to a production environment. During deployment, if you need a temporary demo link for testing and sharing, you can choose Cloud Studio. If your goal is to officially launch the application and require a stable, independent, and long-term accessible server, Lighthouse is the more appropriate choice. Under Craft Agent, you can deploy your project with a single click in two ways.
Cloud Studio
CodeBuddy has preconfigured the Cloud Studio connection environment for you, so no additional setup is required. You can trigger the deployment as follows:
In the toolbar above the conversation panel, click Deploy next to Cloud Studio to perform one-click deployment.

After project development is complete, if you receive a Publish CloudStudio push notification, you can click on it to trigger one-click deployment.

Tencent Lighthouse
Connect to Tencent Lighthouse
Before you can start deploying with Lighthouse, you need to connect the environment as follows:
- In the toolbar above the conversation panel, click the Integrations button, then click the Connect button next to Tencent Lighthouse in the list to start the connection.

- Choose one of the login methods to log in to Tencent Cloud.

- Click Authorize to grant authorization.

- Successful authorization will be indicated by the following screen.

- After successful authorization, you will be automatically connected to Tencent Lighthouse, as shown below.

Start Deployment
Once you have successfully connected to Lighthouse, you can trigger the project deployment as follows:
In the toolbar above the conversation panel, click Deploy next to Tencent Lighthouse in the Integrations list to trigger deployment.
Alternatively, you can directly enter the deployment request in the conversation panel, and Craft Agent will execute it automatically. 
After triggering deployment, Agent will automatically analyze the current project, check and install the environment on the target Lighthouse instance, package the project, transfer files, deploy, and start the application, among other automated deployment tasks.

Note:To improve deployment success rates, it is recommended to deploy the application on a Linux instance with Docker installed.
After successful deployment, a publicly accessible link will be generated, which you can share with others to verify your application.
The deployment result will be displayed as follows: 