ckanext-dataportaltheme
DataPortal base theme
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
vagrant up
vagrant ssh
Take a break for 10-15 min :).
If you get any error while vagrant up try vagrant reload.
If you still have errors in during vagrant up 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
Activate virtualenv
source /usr/lib/ckan/default/bin/activate
Create admin user (optional)
paster --plugin=ckan sysadmin add admin -c /etc/ckan/default/development.ini
Start CKAN development server
paster serve /etc/ckan/default/development.ini --reload
Now you can access ckan instance on http://127.0.0.1:5002
Happy Hacking :)
CKAN Documentation
CKAN Docs
CKAN Extensions Tutorial
CKAN Theming guide
Extension templates
In the main theme extension in templates/home/index.html we have created the github_extension block. This is the place where this extension will overwrite the template.
Resources
Add static pages extension example
Config Settings