README.md
English | 中文文档
QQ Group
546574618./cmd update multiple times../cmd reup and then execute ./cmd update../cmd reup to restart the services.Docker v20.10+ and Docker Compose v2.0+CentOS/Debian/Ubuntu/macOS and other Linux/Unix systems# 1、Clone the project to your local machine or server
# Clone project from GitHub
git clone --depth=1 https://github.com/kuaifan/dootask.git
# Or you can use Gitee
git clone --depth=1 https://gitee.com/aipaw/dootask.git
# 2、Enter directory
cd dootask
# 3、One-click installation (Custom port installation: ./cmd install --port 80)
./cmd install
# Reset default administrator password
./cmd repassword
# This method only changes HTTP port. For HTTPS port, please read SSL configuration below
./cmd port 80
./cmd down
./cmd up
Please ensure you have installed NodeJs 20+
# Development mode
./cmd dev
# Build project (This is for web client. For desktop apps, refer to ".github/workflows/publish.yml")
./cmd prod
# Run command and follow the prompts
./cmd https
# 1、Add Nginx proxy configuration
proxy_set_header X-Forwarded-Host $http_host;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
# 2、Run command (To cancel Nginx proxy configuration: ./cmd https close)
./cmd https agent
Note: Please backup your data before upgrading!
./cmd update
./cmd reup to restart services.After installing the new project, follow these steps to complete migration:
1、Backup original database
# Run command in the old project
./cmd mysql backup
2、Copy the following files and directories from old project to the same paths in new project
Database backup filedocker/appstorepublic/uploads3、Restore database to new project
# Run command in the new project
./cmd mysql recovery
./cmd uninstall
./cmd help