测试环境:
CentOS 7.6.1810 x86_64(Py3.7.9)
宝塔 Linux 面板 7.8 正式版
安装步骤
1、CentOS
系统安装(自行百度)
2、宝塔安装(参考宝塔官网)
3、进入宝塔商店,安装Docker
管理器 3.9,其他根据自行选择安装。
4、安装pip
工具
自动安装:yum install python-pip -y
手动安装:wget https://files.pythonhosted.org/packages/0b/f5/be8e741434a4bf4ce5dbc235aa28ed0666178ea8986ddc10d035023744e6/pip-20.2.4.tar.gz
#下载安装包
tar -zxvf pip-20.2.4.tar.gz
# 解压
cd pip-20.2.4/
sudo python setup.py install
#给予权限不然可能安装失败
pip install -U pip
#再次更新或
/bin/python -m pip install --upgrade pip
#更新
5、安装docker-compose
,宝塔默认没有 docker-compose
安装命令:pip install docker-compose
#如果不好用请尝试手动安装办法
requests 报错解决办法:sudo pip install --ignore-installed requests
手动安装:sudo curl -L https://get.daocloud.io/docker/compose/releases/download/v2.3.3/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose
docker 和 docker-compose 版本查看:
docker -v
docker-compose --version
确保 docker 和 docker-compose 安装成功!
6、在宝塔终端或 SSH 中下载 dootask,注意当前目录。
下载命令:git clone https://github.com/kuaifan/dootask.git
或:git clone https://gitee.com/aipaw/dootask.git
7、在宝塔终端或 SSH 中安装 dootask。
cd dootask
#进入 dootask 当前目录
./cmd install
#运行安装程序
8、安装成功
使用IP:2222
登录 dootask 即可。祝你成功!
问题与解决
01 报错:can't read /www/.env: No such file or directory
01 解决:修改 cmd 文件的第 191 和 193 行 /www/.env 为正确的路径,或改为${cur_path}/.env
02 报错:Command "python setup.py egg info" failed with error code 1
02 解决:手动安装 docker-compose
PS:如果 docker-compose 版本过低会提示未安装 docker-compose。
03 报错:502 错误
03 解决:运行一下命令,把服务 supervisor 启动起来就可以了。
cd ~/dootask
pwd
./cmd service supervisor start
再次感谢作者提供优秀的的开源在线项目管理工具!!!
(官网地址:https://www.dootask.com)
(源码地址:https://gitee.com/aipaw/dootask)
Hi there, I just finished reading your post, and I have to say it’s really insightful! You’ve covered some key points that many people often overlook. I especially appreciated the way you explainedthis article. It’s something I can definitely relate to and I think it will benefit a lot of readers. I also wanted to add that I’ve been exploring a similar topic over at my website, where I discuss [mention something relevant to the post but related to your content]. It’s interesting to see how our ideas align in some areas, and I'd love to hear your thoughts on it! Thanks again for sharing such valuable information. Keep up the great work!
游戏注册网址www.TL6269.com
微:Tai200611
騰龍娱楽实体注册链接