Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

The Brasília Government Theme for Opandata

Project Description

Template CKAN para PDA do GDF - ckanext-govdf_theme

Para ter acesso á área de usuário é necessário digitar /user/login depois do endereço url base.

http://dadosabertos.df.gov.br/user/login

Instalação

Para instalar ckanext-govdf_theme:

  1. Ative seu ambiente virtual CKAN, por exemplo:

    . /usr/lib/ckan/default/bin/activate
    
  2. Instale o pacote Python ckanext-govdf_theme no seu ambiente virtual:

    pip install ckanext-govdf_theme
    
  3. Adicione govdf_theme na área ckan.plugins no seu arquivo de configurações do CKAN (por padrão o arquivo de configurações está em /etc/ckan/default/production.ini).

  4. Reinicia o CKAN. Por exemplo se o CKAN foi implantado no Ubuntu com o Apache:

    sudo service apache2 reload
    

Instalação para Desenvolvimento

Para instalar ckanext-govdf_theme para desenvolvimento, ative o seu ambinete virtual do CKAN e digite:

git clone https://lucas_jlma@bitbucket.org/lucas_jlma/gdf_ckan_theme.git
cd ckanext-govdf_theme
python setup.py develop
pip install -r dev-requirements.txt

A ser implementado

Algumas funcionalidades não estão funcionando como deveriam e melhorias diversas devem ser implementadas.

  • Ordenação de conteúdo em todas as páginas;
  • Inclusão de CSS pelo fanstatic (ISSUE);
  • Implementar ferramentas de acessibilidade;
  • Implementar a área de administração do sistema;
  • Traduzir strings personalizadas do sistema;
  • links por referência;
  • Estilizar a paginação;

Para que o template funcione perfeitamente é indicada a substituição do arquivo main.css por outro equivalente com as formatações específicas do template e assim a estrutura HTML também.

Running the Tests - Not Available

To run the tests, do:

nosetests --nologcapture --with-pylons=test.ini

To run the tests and produce a coverage report, first make sure you have coverage installed in your virtualenv (pip install coverage) then run:

nosetests --nologcapture --with-pylons=test.ini --with-coverage --cover-package=ckanext.govdf_theme --cover-inclusive --cover-erase --cover-tests

Registering ckanext-govdf_theme on PyPI

ckanext-govdf_theme should be availabe on PyPI as https://pypi.python.org/pypi/ckanext-govdf_theme. If that link doesn’t work, then you can register the project on PyPI for the first time by following these steps:

  1. Create a source distribution of the project:

    python setup.py sdist
    
  2. Register the project:

    python setup.py register
    
  3. Upload the source distribution to PyPI:

    python setup.py sdist upload
    
  4. Tag the first release of the project on GitHub with the version number from the setup.py file. For example if the version number in setup.py is 0.0.1 then do:

    git tag 0.0.1
    git push --tags
    

Releasing a New Version of ckanext-govdf_theme

ckanext-govdf_theme is availabe on PyPI as https://pypi.python.org/pypi/ckanext-govdf_theme. To publish a new version to PyPI follow these steps:

  1. Update the version number in the setup.py file. See PEP 440 for how to choose version numbers.

  2. Create a source distribution of the new version:

    python setup.py sdist
    
  3. Upload the source distribution to PyPI:

    python setup.py sdist upload
    
  4. Tag the new release of the project on GitHub with the version number from the setup.py file. For example if the version number in setup.py is 0.0.2 then do:

    git tag 0.0.2
    git push --tags
    
Release History

Release History

This version
History Node

0.0.8

History Node

0.0.7

History Node

0.0.6

History Node

0.0.5

History Node

0.0.4

History Node

0.0.3

History Node

0.0.2

History Node

0.0.1

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
ckanext-govdf_theme-0.0.8.tar.gz (691.4 kB) Copy SHA256 Checksum SHA256 Source Aug 16, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting