First of all you’ll need to config everything right in your production.ini or development.ini of your CKAN site.
Follow the guide here Installing CKAN from Source and build Python virtual environment for you site.
Then you can get your hands dirty.
You should run these command in your ckan directory.
cd /usr/lib/ckan/default/src/ckanThen you can use your development.ini or production.ini file to do your magic.
paster sysadmin add 'whoami' -c /etc/ckan/default/production.ini
or
paster sysadmin add 'whoami' -c /etc/ckan/default/development.inipaster create-test-data -c /etc/ckan/default/production.ini
or
paster create-test-data -c /etc/ckan/default/development.iniYou can customize your CKAN site by changing default setting here.
For example, to change the title of your site you would find the ckan.site_title line in your config file and edit it:
ckan.site_title=Yuqian's CKANAnd another example you can also choose your default language in the config file.
ckan.locale_default=zh_CN #For default interface in Chinese.Back To Top