ckanext-gcbaandinotheme
Visual theme plugin for the Open Data Portal of the Autonomous City of Buenos Aires for Andino.
Installation Instructions
- Access the host where Andino is installed.
- Enter the
portal container (docker-compose exec bash).
- Inside the
portal container, activate the CKAN virtualenv: . /usr/lib/ckan/default/bin/activate.
- Install the plugin with
pip:
pip install -e git+https://github.com/datosgcba/ckanext-gcbaandinotheme.git@539c803ba60eec52945216dce2ab1073f132ea42#egg=ckanext-gcbaandinotheme
- Edit the file
/etc/ckan/default/production.ini and modify:
- Add
gcbaandinotheme to the list of plugins immediately before gobar_theme.
- Add
andino.base_page = gcba_base_page.html within the [app:main] section.
- Restart Andino.
Installation of ckanext-security
The plugin ckanext-security allows improving the security parameters of a CKAN instance, for example:
- Automatic blocking of failed login attempts.
- Automatic session expiration.
- Secure password policies.
New “About” Sections
To add a new section to the “About” menu, you need to create a new HTML template following the Andino documentation instructions. Templates should be uploaded to the ckanext/gcbaandinotheme/templates directory.
Adding New Elements to the Stories Section
The “Stories” section is composed of an HTML template located at ckanext/gcbaandinotheme/templates/historias.html and a set of png images located at ckanext/gcbaandinotheme/public/img/historias.
To add a story, you need:
1. The URL where the story is hosted.
2. Story title.
3. Story description.
4. Story image.