Skip to main content

The Brasília Government Theme for Opandata

Project description

https://travis-ci.org/"lucasjlma"/ckanext-govdf_theme.svg?branch=master https://coveralls.io/repos/"lucasjlma"/ckanext-govdf_theme/badge.svg Downloads Latest Version Supported Python versions Development Status License

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

Project details


Download files

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

Source Distribution

ckanext-govdf_theme-0.0.8.5.tar.gz (5.5 MB view details)

Uploaded Source

File details

Details for the file ckanext-govdf_theme-0.0.8.5.tar.gz.

File metadata

File hashes

Hashes for ckanext-govdf_theme-0.0.8.5.tar.gz
Algorithm Hash digest
SHA256 3e16dedcc6dc0246b52fbfde55fc8b3b7607c8609a0e3b98a78c4807ae55e29e
MD5 f9a3bc0084a4ac8d9bf73f455702f71d
BLAKE2b-256 3abe9fd4a2bdb4dad846f9fc23cd3225864f08bedf2a586778ef5d6e2fa3832b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page