【问题标题】:Graphite Installation on MacOS Sierra 10.12.4MacOS Sierra 10.12.4 上的 Graphite 安装
【发布时间】:2017-06-04 11:05:05
【问题描述】:

我多次尝试在我的 MacBook 上安装石墨。我按照这个教程 https://gist.github.com/trusche/bfab931c538bd1a63c80

我安装了所有必需的软件包,但它在这个命令处停止:python manage.py syncdb 我的 Mac 上没有名为 manage.py 的文件。

此文件应存在于 /opt/graphite/webapp/graphite 中。

我不明白为什么这个文件丢失了。

感谢您的帮助

【问题讨论】:

    标签: graphite


    【解决方案1】:

    我认为您使用的 Graphite 版本比教程假设的要新。配置 Django 数据库的命令不久前发生了变化。它应该是这样的:

    django-admin.py migrate --settings=graphite.settings --run-syncdb

    更多信息请参见https://graphite.readthedocs.io/en/latest/config-database-setup.html

    【讨论】:

      猜你喜欢
      • 2017-10-03
      • 1970-01-01
      • 2017-05-05
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-12-05
      • 2017-05-30
      相关资源
      最近更新 更多