Django 框架下的bootcamp搭建 ---第二篇笔

1. 源码的下载

1.1在github上先将源码fork到自己的账号下,然后将地址粘贴 【    源码路径:https://github.com/vitorfs/bootcamp  】

1.2 执行 git clone https://github.com/luyanyan5620/bootcamp.git bootcampTest 下载到bootcampTest 路径下

1.3 查看 Bootcamp before running  dependencies的条件;requirements.txt 在 bootcampTest路径下

1.4 安装 好依赖的东西 pip install -U -r requirements.txt 【psycopg2 安装失败,是否影响启动 bootcamp??】

扩展:linux 下环境变量的查看和添加;比如在vituralevn 虚拟出的isolate python环境里给pip添加环境变量

 查看 echo $PATH

添加  export PATH=/opt/DjangoTest/blog/bin:$PATH

原文地址:https://www.cnblogs.com/luyanyan5620/p/5513100.html