[英]How to install ckanext-wet-boew as ckan extension?
我正在嘗試將“ ckanext-wet-boew” ckanext添加到我的ckan 2.2中。
這些是我遵循的步驟:
1.-從以下位置下載zip文件: https : //github.com/open-data/ckanext-wet-boew
2.-解壓縮到一個文件夾。
3.-在/ usr / lib / ckan / default / src中創建一個名為ckanext-wet_boew的文件夾
4.-將內容從子文件夾ckanext-wet-boew-master \\ ckanext-wet-boew-master復制到ckanext-wet_boew
5.-正如在readme.st中所說的,我添加wet-boew-dist-3.1.7,然后將jqueymobile1.3.2下載到文件夾
6.-現在,其內容如下: http : //docs.ckan.org/en/1117-start-new-test-suite/writing-extensions.html
有一條注釋:“要改為通過將所有文件復制到site-packages目錄來安裝python軟件包,請運行python setup.py install”
通過此步驟,應該可以使用此插件添加到production.ini
ckan.plugins = ... wet_theme
由於失敗,我完成了python setup.py
開發
但是沒辦法
任何想法???
謝謝
安裝后,解壓縮濕文件dist zip文件后,您的文件目錄應如下所示:
ckanext-wet_boew/
README.rst
setup.py
ckanext/
wet_boew/
plugins.py
templates/
theme/
public/
en/
fr/
images
readme.rst
dist/
ckan/
grids/
js/
resource.config
theme-base/
theme-clf2-nsi2/
theme-gcwu-fegc/
theme-gcwu-intranet/
theme-ogpl/
theme-wet-boew/
如果文件不在此結構中,則擴展名將不起作用。
在根文件夾中的setup.py上運行“ python setup.py development”之后,該軟件包應該可以使用了。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.