推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
moosoome
V2EX  ›  Python

新手求教-本地用 Pycharm 建的项目如何传到服务器上

  •  
  •   moosoome · May 13, 2015 · 2885 views
    This topic created in 4088 days ago, the information mentioned may be changed or developed.

    目前我在ubuntu上搭建apache+python+django+mysql web开发环境,在服务器上建立了个project,测试正常,http://120.24.240.204/

    但用我本地建立的project覆盖掉测试项目就会500错误

    请问下,本地项目能够直接覆盖吗?或者需要注意修改什么地方?

    刚学程序,诚心求教

    3 replies    2015-05-13 23:35:07 +08:00
    ljcarsenal
        1
    ljcarsenal  
       May 13, 2015   ❤️ 1
    没在服务器上建立数据表吧。。。manage.py makemiagrations
    CodeDrift
        2
    CodeDrift  
       May 13, 2015   ❤️ 1
    Table 'website.blog_post' doesn't exist 表不存在。

    按照楼上的同步下数据库就行
    moosoome
        3
    moosoome  
    OP
       May 13, 2015
    @Anybfans @ljcarsenal 感谢回复 已经解决 是wsgi的问题 数据库报错是解决之后出现的
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3080 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 13:44 · PVG 21:44 · LAX 06:44 · JFK 09:44
    ♥ Do have faith in what you're doing.