Git Product home page Git Product logo

ckanext-cob_theme's Introduction

ckanext-cob_theme

Based on City of Boston Brand Guidelines

https://www.boston.gov/departments/innovation-and-technology/brand-guidelines

Requirements

Compatible with CKAN 2.3+

Install the ckanext-showcase extension

------------Development Installation ------------

To install ckanext-cob_theme:

  1. Activate your CKAN virtual environment, for example:

    . /usr/lib/ckan/default/bin/activate
  2. Download the ckanext-cob_theme github repository:

    cd /usr/lib/ckan/default/src
    git clone https://github.com/Ontodia/ckanext-cob_theme.git
  3. Install the extension into your virtual environment:

    cd ckanext-cob_theme
    python setup.py develop
  4. Add cob_theme to the ckan.plugins setting in your CKAN config file (by default the config file is located at /etc/ckan/default/production.ini).
  5. Restart CKAN. For example if you've deployed CKAN with Apache on Ubuntu:

    sudo service apache2 reload

Config Settings

Document any optional config settings here. For example:

# The minimum number of hours to wait before re-checking a resource
# (optional, default: 24).
ckanext.cob_theme.some_setting = some_default_value

API Documentation

To install API Documentation:

  1. Install Sphinx and Alabaster theme on your virtual environement:

    sudo apt-get install python-sphinx
    pip install -e git+https://github.com/bitprophet/alabaster/#egg=alabaster
  2. Run the doc generate python script and sphinx build command to create static html files:

    cd ckanext-cob_theme/docs/
    python generate.py ../../ckan/doc
    cp conf.py ./doc
    sphinx-build -b html ./doc ../ckanext/cob_theme/templates/docs/snippets
  3. Use the doc-template file to add the header and footer to all the static html files:

    cd ../ckanext/cob_theme/templates/docs/snippets
    mkdir -p __static/docs
    mv _static __static/docs
    mv __static _static

ckanext-cob_theme's People

Contributors

injune1123 avatar jguo144 avatar susandarvishi avatar jimafisk avatar

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.