Deployment Process (Docker)
This document aims to introduce how to use Docker to deploy the WeDa Low-Code development tool and the management console development tool on a Linux-based VM, with the deployment process as follows:
To deploy an instance of the WeDa Low-Code development tool, a Linux-based system is required. For the recommended server configuration, refer to: Pre-installation Steps .
1 Download the script
Switch to root privileges:
sudo su
.Please execute the following command on the Linux server:
Installation Commandwget -L -O install.sh https://software-1302110647.cos.ap-guangzhou.myqcloud.com/rc/lastest/install.sh && chmod +x install.sh
The current script only supports Linux servers with x86 and aarch64 architectures.
Run the installation script
./install.sh
. The default port for the installer is: 38080
- Ensure that ports 80, 38080, or your custom ports are not occupied and that the server has opened access permissions for these ports
- If you need to customize the installer's port number, refer to Port and Allowlist ip Configuration
2 Installation
- Enter
http://<actual access IP>:38080
in the browser to open the installer page, then click Start Installation. - Fill in the obtained License on the opened page (you can also configure the access address as needed)
- Click Start Installation, wait approximately 3-5 minutes. After installation is complete, click Access Platform Immediately or enter the default address in the browser:
http://<actual access IP>/dev
- Access the Development Platform
The standalone version involves a default installation directory, generally /data/tencent/weda
.
After starting the WeDa Low-Code development platform instance:
- A configs directory is generated under the installation directory, storing all configuration files required for the service to run.
- A storage directory is generated under the installation directory (Do not delete), which contains minio and mysql subdirectories storing data generated by minio and mysql respectively.
- A logs directory is generated under the installation directory, storing log information for all services.
- Under the installation directory, you can use the command
cat .env
to view the environment variables file. - If you need to customize the platform's access port/IP/domain name, etc., refer to Custom Ports and IP/Domain.
- Issues encountered during deployment can be referred to the FAQ: FAQ.
In production environments, to ensure high availability, it is recommended to use custom databases and object storage. Refer to the Custom MySQL Configuration Guide and Custom S3 Object Configuration Guide