Below are the detailed steps to deploy TaskingAI Community Edition locally:
- environmental preparation: Install Docker and Docker Compose and make sure your system supports Python 3.8+.
- Download Code: Clone the official repository via git: git clone https://github.com/TaskingAI/TaskingAI.git
- Configuration environment: Create a .env file in the root directory of the project, set the API key and other parameters
- Starting services: Go to the docker directory and execute the docker-compose command to start all services
- Validating Deployment: Visit http://localhost:8080查看控制台
After deployment, it is recommended to install the Python client SDK for feature development:
- Use pip install: pip install taskingai
- Initialize SDK: taskingai.init(api_key="YOUR_API_KEY", host="http://localhost:8080″)
Take care to ensure that port 8080 is not occupied, and that the Docker container needs to be networked to download dependent images.
This answer comes from the articleTaskingAI: An Open Source Platform for Developing AI Native ApplicationsThe