Skip to content
/ ckan Public
forked from governmentbg/ckan

CKAN is an open-source DMS (data management system) for powering data hubs and data portals. CKAN makes it easy to publish, share and use data. It powers datahub.io, catalog.data.gov and data.gov.uk among many other sites.

License

Notifications You must be signed in to change notification settings

banzsh/ckan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

95 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

## Introduction

The ckan software is used to run the CKAN/OpenRegistry site (CKAN stands for
the Comprehensive knowledge Archive Network) which provides a listing of
(mainly open) knowledge packages.


## Copying

Copyright (c) 2006-2007 Open Knowledge Foundation.

Licensed under the MIT license:
  
  <http://www.opensource.org/licenses/mit-license.php>


## Authors

Rufus Pollock <rufus@rufuspollock.org>


## Installation and Setup

1. Get the code if you do not have it already (see Getting the Code below).

2. Install it:

      $ sudo python setup.py

   If you want to work from a subversion copy and plan to make modifications do:
   
      $ sudo python setup.py develop

   This step should install most the library dependencies for CKAN. However
   some dependencies may not be able to be installed automatically. Please see
   install_requires option (and associated comments) in setup.py.

3. Make a config file as follows:

      $ paster make-config ckan config.ini

   Alternatively just copy an existing configuration (such as development.ini):

      $ cp development.ini config.ini

4. Tweak the config file as appropriate and then setup the application::

      $ paster setup-app config.ini

5. Run the webserver:

      $ paster serve config.ini 

6. Point your browswer at: localhost:5000 (if you set a different port in your
   config file then youl will need to change 5000 to whatever port value you
   chose).

7. [optional] Production deployment. CKAN2 is built using pylons. A full
   walkthrough of production deployment can be found at:

   http://pylonshq.com/project/pylonshq/wiki/FastCGI.


## Getting the Code

Download ckan or checkout the code from the subversion repository.


## Tests

When starting from a clean system for the tests to run properly you will need
to:

  1. Create the basic db structure: $ bin/ckan-admin rebuild
  2. Create some basic test data: $ bin/ckan-admin testdata

To run the tests you should use py.test:

    $ py.test ckan/tests

Note that the functional tests require twill: <http://twill.idyll.org/>

About

CKAN is an open-source DMS (data management system) for powering data hubs and data portals. CKAN makes it easy to publish, share and use data. It powers datahub.io, catalog.data.gov and data.gov.uk among many other sites.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 61.3%
  • CSS 22.3%
  • JavaScript 9.1%
  • HTML 7.2%
  • Other 0.1%