Walle 2.0部署
2020-01-26 本文已影响0人
程序员有话说
官方网站安装手册 http://walle-web.io/docs/installation.html
安装部署遇到问题及解决方法 http://www.imooc.com/article/299641
本文介绍在虚拟主机中安装部署walle2.0系统
- 1.克隆代码Clone code
git clone https://github.com/meolu/walle-web.git - 2.配置站点虚拟主机,按照官网配置即可
- 3.注意虚拟机
/etc/hosts新增127.0.0.1 admin.walle-web.io - 4.在主机中配置host解析,假如虚拟主机IP地址:
192.168.33.10则在主机中/etc/hosts新增192.168.33.10 admin.walle-web.io注意与第三点不同 - 安装
sh admin.sh init时遇到gunicorn 版本不对提示,解决办法如下:
找到:walle-web-master/requirements/prod.txt文件,把里面的:gunicorn>=19.1.1改为gunicorn==19.1.1,然后再次进行sh admin.sh init - 修改配置,初始化数据库即可
- 启动服务
sh admin.sh start