GithubHelp home page GithubHelp logo

okfn / ckanext-apps Goto Github PK

View Code? Open in Web Editor NEW
4.0 25.0 2.0 271 KB

[DEPRECATED - now part of CKAN core as of v1.7] Apps and ideas catalogue extension for CKAN. Associate apps and ideas to datasets.

Home Page: http://docs.ckan.org/en/ckan-1.7.1/extensions.html

JavaScript 0.49% Python 99.51%

ckanext-apps's Introduction

Apps and Ideas Extension

DEPRECATED

The ckanext-apps extension is deprecated, it has been replaced by the Related Items feature in CKAN core. Tools have been added to this repository to migrate a ckanext-apps deployment to CKAN Related Items:

  1. Update your version of ckanext-apps to the latest commit on the master branch and run python setup.py develop in the ckanext-apps dir.

  2. Use the ckanext-apps-migrate dump command to dump your ckanext-apps database tables to a JSON file. You should run the command from the ckanext-apps directory. For example:

    ckanext-apps-migrate -c deployment.ini dump > related.json
    
  3. Use the ckanext-apps-migrate load command to load the dumped ckanext-apps data into your CKAN database as Related Items. Again, run the command from the ckanext-apps directory. For example:

    ckanext-apps-migrate -c deployment.ini load related.json
    

    You should now see your applications and ideas as Related Items in CKAN. For example, browse to /apps to see the Related Dashboard. However, the images for your related applications will not appear yet.

  4. Use the ckanext-apps-scraper.py included with ckanext-apps to scrape the images for your related applications from your site running ckanext-apps. Follow the instructions in ckanext-apps-scraper.py.

  5. Add an extra public directory to your site (using the extra_public_paths setting in your ini file). Inside the extra public directory create a directory called migrated_application_images. Move the image files downloaded by the scraper into this directory.

    Restart the webserver. You should now see the images for your related applications on the related dashboard.

  6. Disable the ckanext-apps extension by deleting it from the ckan.plugins = line in your ini file and restarting the web server.


The Apps and Ideas extension for CKAN adds functionality to associate apps and ideas to datasets in your CKAN instance.

Requirement(s)

If using the Ubuntu 10.04 LTS appliance "package installation" method (Option 1 in the documentation), you'll need to install python-imaging, e.g.

sudo apt-get install python-imaging

Installation and Activation

To install the plugin, enter your virtualenv and load the source:

(ckan)$ pip install -e git+https://github.com/okfn/ckanext-apps#egg=ckanext-apps

This will also register a plugin entry point, so you now should be able to add the following to your CKAN .ini file:

ckan.plugins = community <other-plugins>

After you clear your cache and reload the site, the Comunity plugin and should be available at http://myckaninstance/apps and http://myckaninstance/ideas

Developers

You can run the test suite for ckanext-community from the ckan directory, the tests for ckanext-community require nose and mock

(ckan)$ pip install nose mock
(ckan)$ nosetests -x path/to/ckanext-community/tests --ckan

ckanext-apps's People

Contributors

amercader avatar jimcraner avatar pudo avatar rufuspollock avatar wwitzel3 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ckanext-apps's Issues

Mark as deprecated

This extension has been replaced by the Related feature as of CKAN v1.7. We should therefore mark this repo as deprecated in both README and GitHub description field with clear link to new feature.

@jimcraner: FYI :-)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.