Commit 0f3881f9 authored by Patipat Jo's avatar Patipat Jo
Browse files

Update from-package.md

parent 57272aa9
......@@ -284,4 +284,58 @@ sudo pip install -r src/ckanext-pages/dev-requirements.txt
```sh
sudo service apache2 restart
```
#### 13.4 ckanext-hierarchy:
```sh
source /usr/lib/ckan/default/bin/activate
cd /usr/lib/ckan/default
sudo pip install -e 'git+https://github.com/davidread/ckanext-hierarchy.git#egg=ckanext-hierarchy'
sudo pip install -r src/ckanext-hierarchy/requirements.txt
```
แก้ไขไฟล์ config ของ CKAN ดังนี้:
```sh
- ckan.plugins
> ckan.plugins = stats text_view image_view recline_view resource_proxy datastore datapusher webpage_view pdf_view scheming_datasets pages hierarchy_display hierarchy_form
```
```sh
sudo service apache2 restart
```
#### 13.5 ckanext-package-group-permissions:
```sh
source /usr/lib/ckan/default/bin/activate
cd /usr/lib/ckan/default
sudo pip install -e 'git+https://github.com/salsadigitalauorg/ckanext-package-group-permissions.git#egg=ckanext-package-group-permissions'
sudo pip install -r src/ckanext-package-group-permissions/requirements.txt
```
แก้ไขไฟล์ config ของ CKAN ดังนี้:
```sh
- ckan.plugins
> ckan.plugins = stats text_view image_view recline_view resource_proxy datastore datapusher webpage_view pdf_view scheming_datasets pages hierarchy_display hierarchy_form package_group_permissions
```
```sh
sudo service apache2 restart
```
#### 13.6 ckanext-dcat:
```sh
source /usr/lib/ckan/default/bin/activate
cd /usr/lib/ckan/default
sudo pip install -e 'git+https://github.com/ckan/ckanext-dcat.git#egg=ckanext-dcat'
sudo pip install -r src/ckanext-dcat/requirements.txt
```
แก้ไขไฟล์ config ของ CKAN ดังนี้:
```sh
- ckan.plugins
> ckan.plugins = stats text_view image_view recline_view resource_proxy datastore datapusher webpage_view pdf_view scheming_datasets pages hierarchy_display hierarchy_form package_group_permissions dcat dcat_json_interface structured_data
```
```sh
sudo service apache2 restart
```
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment