base on DooTask是一款开源在线项目任务管理工具,提供各类文档协作工具、在线思维导图、在线流程图、项目管理、任务分发、即时IM,文件管理等工具;同时消息功能使用非对称加密技术让你的沟通更安全。 # DooTask - Open Source Task Management System English | **[中文文档](./README_CN.md)** - [Screenshot Preview](./README_PREVIEW.md) - [Demo Site](http://www.dootask.com/) **QQ Group** - Group Number: `546574618` ## 📍 Migration from 0.x to 1.x - Please ensure to back up your data before upgrading! - If the upgrade fails, try running `./cmd update` multiple times. - If you encounter "Container xxx not found" during upgrade, run `./cmd reup` and then execute `./cmd update`. - If you see a 502 error after upgrading, run `./cmd reup` to restart the services. - If you encounter "Application 'xxx' not installed" after upgrading, log in with the admin account and install the relevant applications from the App Store. ## Installation Requirements - Required: `Docker v20.10+` and `Docker Compose v2.0+` - Supported Systems: `CentOS/Debian/Ubuntu/macOS` and other Linux/Unix systems - Hardware Recommendation: 2+ cores, 4GB+ memory - Special Note: Windows users can install Linux environment using WSL2 before installing DooTask. ### Deploy Project ```bash # 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 Password ```bash # Reset default administrator password ./cmd repassword ``` ### Change Port ```bash # This method only changes HTTP port. For HTTPS port, please read SSL configuration below ./cmd port 80 ``` ### Stop Service ```bash ./cmd down ``` ### Start Service ```bash ./cmd up ``` ### Development & Build Please ensure you have installed `NodeJs 20+` ```bash # Development mode ./cmd dev # Build project (This is for web client. For desktop apps, refer to ".github/workflows/publish.yml") ./cmd prod ``` ### SSL Configuration #### Method 1: Automatic Configuration ```bash # Run command and follow the prompts ./cmd https ``` #### Method 2: Nginx Proxy Configuration ```bash # 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 ``` ## Upgrade & Update **Note: Please backup your data before upgrading!** ```bash ./cmd update ``` * Please retry if upgrade fails across major versions. * If you encounter 502 errors after upgrade, run `./cmd reup` to restart services. ## Project Migration After installing the new project, follow these steps to complete migration: 1、Backup original database ```bash # 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 file` - `docker/appstore` - `public/uploads` 3、Restore database to new project ```bash # Run command in the new project ./cmd mysql recovery ``` ## Uninstall Project ```bash ./cmd uninstall ``` ### More Commands ```bash ./cmd help ``` ", Assign "at most 3 tags" to the expected json: {"id":"4696","tags":[]} "only from the tags list I provide: [{"id":77,"name":"3d"},{"id":89,"name":"agent"},{"id":17,"name":"ai"},{"id":54,"name":"algorithm"},{"id":24,"name":"api"},{"id":44,"name":"authentication"},{"id":3,"name":"aws"},{"id":27,"name":"backend"},{"id":60,"name":"benchmark"},{"id":72,"name":"best-practices"},{"id":39,"name":"bitcoin"},{"id":37,"name":"blockchain"},{"id":1,"name":"blog"},{"id":45,"name":"bundler"},{"id":58,"name":"cache"},{"id":21,"name":"chat"},{"id":49,"name":"cicd"},{"id":4,"name":"cli"},{"id":64,"name":"cloud-native"},{"id":48,"name":"cms"},{"id":61,"name":"compiler"},{"id":68,"name":"containerization"},{"id":92,"name":"crm"},{"id":34,"name":"data"},{"id":47,"name":"database"},{"id":8,"name":"declarative-gui "},{"id":9,"name":"deploy-tool"},{"id":53,"name":"desktop-app"},{"id":6,"name":"dev-exp-lib"},{"id":59,"name":"dev-tool"},{"id":13,"name":"ecommerce"},{"id":26,"name":"editor"},{"id":66,"name":"emulator"},{"id":62,"name":"filesystem"},{"id":80,"name":"finance"},{"id":15,"name":"firmware"},{"id":73,"name":"for-fun"},{"id":2,"name":"framework"},{"id":11,"name":"frontend"},{"id":22,"name":"game"},{"id":81,"name":"game-engine "},{"id":23,"name":"graphql"},{"id":84,"name":"gui"},{"id":91,"name":"http"},{"id":5,"name":"http-client"},{"id":51,"name":"iac"},{"id":30,"name":"ide"},{"id":78,"name":"iot"},{"id":40,"name":"json"},{"id":83,"name":"julian"},{"id":38,"name":"k8s"},{"id":31,"name":"language"},{"id":10,"name":"learning-resource"},{"id":33,"name":"lib"},{"id":41,"name":"linter"},{"id":28,"name":"lms"},{"id":16,"name":"logging"},{"id":76,"name":"low-code"},{"id":90,"name":"message-queue"},{"id":42,"name":"mobile-app"},{"id":18,"name":"monitoring"},{"id":36,"name":"networking"},{"id":7,"name":"node-version"},{"id":55,"name":"nosql"},{"id":57,"name":"observability"},{"id":46,"name":"orm"},{"id":52,"name":"os"},{"id":14,"name":"parser"},{"id":74,"name":"react"},{"id":82,"name":"real-time"},{"id":56,"name":"robot"},{"id":65,"name":"runtime"},{"id":32,"name":"sdk"},{"id":71,"name":"search"},{"id":63,"name":"secrets"},{"id":25,"name":"security"},{"id":85,"name":"server"},{"id":86,"name":"serverless"},{"id":70,"name":"storage"},{"id":75,"name":"system-design"},{"id":79,"name":"terminal"},{"id":29,"name":"testing"},{"id":12,"name":"ui"},{"id":50,"name":"ux"},{"id":88,"name":"video"},{"id":20,"name":"web-app"},{"id":35,"name":"web-server"},{"id":43,"name":"webassembly"},{"id":69,"name":"workflow"},{"id":87,"name":"yaml"}]" returns me the "expected json"