GithubHelp home page GithubHelp logo

dborzov / datacats Goto Github PK

View Code? Open in Web Editor NEW

This project forked from datacats/datacats

0.0 3.0 0.0 1.12 MB

Open Data development & deployment tools built on Docker

Home Page: http://www.datacats.com

License: GNU Affero General Public License v3.0

Python 92.92% Shell 7.08%

datacats's Introduction

datacats

Circle CI docs

datacats uses Docker to give you fully self-contained CKAN dev environments on any platform, along with a command to deploy that exact environment to the cloud.

Install

Please see detailed OS-specific installation instructions in the docs.

Create a CKAN environment

datacats create mytown

This will create a new environment called "mytown" in the current directory, new data files in "~/.datacats/mytown" and start serving your new site locally.

Creating environment "mytown"............
Installing ckan requirements
Installing ckan
Installing ckanext-mytowntheme
Initializing database
Starting web server at http://localhost:5306/ ...
admin user password:

Open your brower to the address shown to try out your new site. Enter an admin password at the prompt to create your first sysadmin user.

Customize your theme

In your environment directory you will find "ckan" and "ckanext-mytowntheme" subdirectories. "ckanext-mytowntheme" is a simple example extension that extends some templates and adds some static files.

Customize your Jinja2 templates in "ckanext-mytowntheme/ckanext/mytowntheme/templates", using the files in "ckan/ckan/templates" as a reference.

Full CKAN extension possibilities are covered in the official CKAN documentation.

The site is run with "paster serve --reload" by default so changes to templates and source files will be visible almost immediately after saving them. Refresh your browser window to see the changes.

For changes to configuration files and new template files added use "reload" to force a site reload.

datacats reload mytown

You may omit "mytown" when running datacats commands from within the environment directory or any subdirectory.

Add CKAN extensions

Many of the 100+ existing CKAN extensions are already compatible with datacats.

First download or clone an extension in to your environment directory.

cd myproject
git clone [email protected]:ckan/ckanext-pages.git

Then add the plugins and configuration options as required by the extension to the "development.ini" file. For ckanext-pages we add "pages" to the list of plugins.

ckan.plugins = mytowntheme datastore image_view pages

Reinstall all extensions and reload the site with:

datacats install

Refresh your browser window to use the new features.

Deploy your environment

Deploy your customized CKAN site to the DataCats.com cloud service.

datacats deploy --create

Follow the prompts and your site will be live in minutes.

datacats's People

Contributors

dborzov avatar deniszgonjanin avatar jackmc avatar wardi avatar

Watchers

 avatar  avatar  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.