gmm
V2EX  ›  问与答

DigitalOcean 的 Apps 部署 Django 项目没有部署成功。

  •  
  •   gmm · Oct 13, 2021 · 1327 views
    This topic created in 1706 days ago, the information mentioned may be changed or developed.

    大家好,我在写数据库作业,需要使用 DigitalOcean 的 Apps 部署 Django 项目。 (或者其他能部署 Django 的也行)

    这是官方的教程示例: https://github.com/digitalocean/sample-django

    这是我存在的问题: https://github.com/digitalocean/sample-django/issues/12

    gmm
        1
    gmm  
    OP
       Oct 13, 2021
    或者有没有其他的简单的办法来部署 Django 项目呢?
    gmm
        2
    gmm  
    OP
       Oct 14, 2021
    已经解决了,原来是数据库的问题,样例需要另外购买数据库,或者注释掉代码中的关于数据库的定义。
    我注释掉定义后,就能部署成功了。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5368 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 36ms · UTC 08:10 · PVG 16:10 · LAX 01:10 · JFK 04:10
    ♥ Do have faith in what you're doing.