paster db init -c XXXX/development.ini not working for CKAN-command 'db' not know

我与影子孤独终老i 提交于 2019-12-06 09:16:34

You need to either be in your CKAN source code directory when you run the paster command (/usr/lib/ckan/default/src/ckan by default) or you need to do paster --plugin=ckan .... Also make sure your CKAN virtual environment is activated when you run the command. See the note at the top of CKAN's command line interface docs.

The link you gave to the docs is to a very old version of the docs by the way, start at http://docs.ckan.org/ to get the latest.

I don't think anyone has got CKAN working on Windows before, there are known issues I believe, good luck. You might want to consider booting an Ubuntu 12.04 virtual machine (e.g. with VirtualBox or Vagrant) on your Windows machine, and installing CKAN in that. You will have a much easier time if you do it that way.

I was able to get CKAN 1.8 running on Windows with the help of this page: https://github.com/ckan/ckan/wiki/How-to-Install-CKAN-1.8-on-Windows I found the docs sometimes a bit confusing - e.g. the file development.ini contains the configuration of your CKAN installation but it's sometimes also referred to as std.ini ... good luck indeed!

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!