Saturday 15 August 2015

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



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

i first time user of ckan , python, of development in .net

i setting ckan first time on windows 7 computer. trying run line:

paster db init -c [folder name]\development.ini

but maintain getting error comman db not know

i have looked at: http://docs.ckan.org/en/943-writing-extensions-tutorial/paster.html

i tried:

c:\python27\scripts\virtualenv.exe --no-site-packages [folder name]\ckanext\datastore

this did not work

is there alternative way set database?

any suggestions?

you need either in ckan source code directory when run paster command (/usr/lib/ckan/default/src/ckan default) or need paster --plugin=ckan .... create sure ckan virtual environment activated when run command. see note @ top of ckan's command line interface docs.

the link gave docs old version of docs way, start @ http://docs.ckan.org/ latest.

i don't think has got ckan working on windows before, there known issues believe, luck. might want consider booting ubuntu 12.04 virtual machine (e.g. virtualbox or vagrant) on windows machine, , installing ckan in that. have much easier time if way.

ckan

No comments:

Post a Comment