Giter VIP home page Giter VIP logo

ckanext-dataportaltheme's Introduction

ckanext-dataportaltheme

DataPortal base theme

UI prototype

Requirements

To start working on this extension you will need Virtualbox and Vagrant

We gave 4096MB of RAM to the VM. If you wish you can change this in the Vagrantfile

Start Virtual Machine

./bin/start.sh

Take a break for 10-15 min :).

If this is not the first time you start the project, and no new backend dependencies where added since your last start, you can speed things up by alternatively running:

./bin/start.sh fast

If you have errors in during start, please check that you have the latest Vagrant and Virtualbox, or try to run step by step the commands from Installing CKAN from source documentation

Now you can access ckan instance on http://127.0.0.1:5000

You have 4 available users:

admin (password: "changeme") - sysadmin
demo (password: "changeme") - admin user in Code4 Organisation
editor (password: "changeme") - editor user in Code4 Organisation
member (password: "changeme") - regular user(member) in Code4 Organisation

Happy Hacking :)

Translating content

All texts in the templates or controllers should be written in english using i18n tags.
If you added a new string or block you need to run (from /vagrant, with the virtualenv activated):

python setup.py extract_messages
python setup.py update_catalog --locale ro -d  ckanext/dataportaltheme/i18n/
python setup.py update_catalog --locale hu -d  ckanext/dataportaltheme/i18n/

After you modify the .po file for each language, run this command:

python setup.py compile_catalog --locale ro -d ckanext/dataportaltheme/i18n/

Restore the database

paster --plugin=ckan db clean -c /etc/ckan/default/development.ini
sudo -u postgres pg_restore --clean --if-exists -d ckan_default < /data/ckan.dump

CKAN Documentation

CKAN Docs
CKAN Extensions Tutorial
CKAN Theming guide

Resources

Add static pages extension example Base template UI prototype

Contributing

If you would like to contribute to one of our repositories, first identify the scale of what you would like to contribute. If it is small (grammar/spelling or a bug fix) feel free to start working on a fix. If you are submitting a feature or substantial code contribution, please discuss it with the team and ensure it follows the product roadmap.

Our collaboration model is described here and more details about how to contribute to our project can be found here.

ckanext-dataportaltheme's People

Contributors

alexmeca avatar boldisteanu avatar catacioba avatar costibleotu avatar denis-feier avatar iciocani avatar iurab avatar mariuscristian avatar raducstefanescu avatar surdu avatar

Watchers

 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.