美文网首页
使用 virtualenvwrapper 搭建部署环境或者开发环

使用 virtualenvwrapper 搭建部署环境或者开发环

作者: xiaopang | 来源:发表于2017-01-10 11:45 被阅读13次

使用 virtualenvwrapper 搭建部署环境或者开发环境

系统版本:CentOS Linux release 7.2.1511 (Core)

python版本: Python 2.7.5

yum install -y python-setuptools
easy_install pip
pip install virtualenvwrapper
useradd <delpoy_user>
sudo su <delpoy_user>
source /usr/bin/virtualenvwrapper.sh
mkvirtualenv app_test
workon app_test

进入环境后,就可以测试自己的脚步或者程序

相关文章

网友评论

      本文标题:使用 virtualenvwrapper 搭建部署环境或者开发环

      本文链接:https://www.haomeiwen.com/subject/lgykbttx.html