在 pythonanywhere 上搭建 django 程序(Virtualenv+python2.7+django1.8)

来源:http://v2ex.com/t/195207

&:https://help.pythonanywhere.com/pages/VirtualEnvForNewerDjango

后记:

一、本地git要clone远程仓库,需要以下:

  $ git config --global user.name "Your Name"

 $ git config --global user.email "[email protected]"

 & ssh-keygen -t rsa -C
"[email protected]"

拷贝pythonAnyWhere上的 id_rsa.pub , 方法如下:



可以使用浏览器的打印功能,



然后选中 id_rsa.pub 的值,右键复制



然后把值整理后(去掉不该要的空格、回车键等)的值粘贴到 github 中

二、修改static 值,如下图:
  1 是 yourproject 的 static 值
  2 是 admin 页面的 static 值

转载于:https://www.cnblogs.com/stevenzeng/p/5145627.html

猜你喜欢

转载自blog.csdn.net/weixin_34273479/article/details/93881054