emc 项目三期 开发环境
emc 项目三期 开发环境
http://www.315ok.org/blogfolder/emc-xiangmusanqi-kaifahuanjing
http://www.315ok.org/logo.png
emc 项目三期 开发环境
emc 项目三期 开发环境
emc 项目三期 开发环境
- 系统
Win10+
WSL2 Ubuntu 18.04
- 参考文档:Installing Plone on a Windows 10 Linux Subsystem for Development — Plone Documentation v5.2
- 操作系统预先安装库
- plone通常要求的库
:Plone Installation Requirements — Plone Documentation v5.2
Plone要求:
sudo apt-get install python3-dev python3-setuptools build-essential libssl-dev libxml2-dev \
libxslt1-dev libbz2-dev libjpeg62-dev zlib1g-dev libreadline-dev wv poppler-utils libssl-dev \
libffi-dev python-matplotlib python-gtk2 fonts-wqy-microhei fonts-wqy-zenhei \
p7zip python-docutils libncurses5-dev libncursesw5-devpillow 要求:
sudo apt-get install libtiff5-dev libjpeg8-dev libopenjp2-7-dev zlib1g-dev \
libfreetype6-dev liblcms2-dev libwebp-dev tcl8.6-dev tk8.6-dev python3-tk \
libharfbuzz-dev libfribidi-dev libxcb1-dev
- 三方插件要求的库
- 如果用oracle,参考:http://www.315ok.org/blogfolder/ubuntu-anzhuang-cx_oracle/@@base_view
- 如果用MySQL:
-
命令行:sudo apt-get install default-libmysqlclient-dev
- 参考:
-
- plone通常要求的库
- 安装pyenv,参考:Plone开发环境下管理多个python版本的解决方案:pyenv — Plone中文资料 (315ok.org)
- 开发工具和插件配置
vscode
- 插件:
remote-WSL,Pylance,Python,Easy less
- 安装 plonecli 参考:https://pypi.org/project/plonecli/
- python 版本
python 3.7.9
- Plone版本
Plone 5.2.7
- 项目git 地址
- buildout开发配置
git@codeup.aliyun.com:5f422575df9df74e36afe7e6/emc/buildout.git
emc.behaviors: git@codeup.aliyun.com:5f422575df9df74e36afe7e6/emc/emc.behaviors.git
emc.reports: git@codeup.aliyun.com:5f422575df9df74e36afe7e6/emc/emc.reports.git
emc.db: git@codeup.aliyun.com:5f422575df9df74e36afe7e6/emc/emc.db.git
collective.gtags: git@codeup.aliyun.com:5f422575df9df74e36afe7e6/adam139/collective.gtags.git
sqlalchemy.dbapi: git@codeup.aliyun.com:5f422575df9df74e36afe7e6/adam139/sqlalchemy.dbapi.git
emc.setup: git@codeup.aliyun.com:5f422575df9df74e36afe7e6/emc/emc.setup.git
emc.skin: git@codeup.aliyun.com:5f422575df9df74e36afe7e6/emc/emc.skin.git
emc.contents: git@codeup.aliyun.com:5f422575df9df74e36afe7e6/emc/emc.contents.git
- buildout开发配置