Skip to main content

Official udata theme and extensions of the Open Data Portal of Luxembourg

Project description

gouvlu

![Crowdin](https://crowdin.com/project/udata-gouvlu)

Official udata theme of the Open Data Portal of Luxembourg

Usage

Install the theme package in you udata environement:

pip install gouvlu

Then, define the installed theme as current in you udata.cfg:

THEME = 'gouvlu'

configuration parameters

Some features are optionnal and can be enabled with the following udata.cfg parameters

  • GOUVLU_GOVBAR = True/False: Toggle the govbar

Development

There is a docker-compose configuration to get started fast. Just run:

docker-compose up

Then go to <http://localhost:7000> to connect to the development server with live reload.

Local setup

If you want to execute some development tasks like extracting the translations or running the test suite, you need to install the dependencies localy (in a virtualenv).

virtualenv venv
source venv/bin/activate
pip install -r requirements/develop.pip

If you want to build assets, you also need node.js. The prefered way is with nvm:

nvm use
npm install
inv assets_build

Ok, you are ready, you can now execute some Development commands.

inv -l
Available tasks:

  all            Run tests, reports and packaging
  assets-build   Build static assets
  assets-watch   Build assets on change
  clean          Cleanup all build artifacts
  cover          Run tests suite with coverage
  dist           Package for distribution
  i18n           Extract translatable strings
  i18nc          Compile translations
  pydist         Perform python packaging (without compiling assets)
  qa             Run a quality report
  test           Run tests suite

Let’s execute an entire build:

inv

Translations

This project is translated on crowdin.

To update the source string, you need to extract them with the inv i18n command and push the result on this repository. Crowding will detect the new string as soon as they are available on the master branch.

Crowdin will submit a pull-request each time some translation is submitted by the contributors.

Releasing

gouvlu uses bumpr to perform release. Simply execute:

# Install bumpr if not already installed
pip install bumpr
# Dry run to preview changes
bumpr -dv
# Perform release
bumpr

Bumpr will execute test, package everything, update changelog, handle tagging and push to upstream repository… You just have to wait for the build to succeed and your release is available.

Changelog

1.1.12 (2019-05-27)

  • Nothing yet

1.1.11 (2019-05-15)

  • Nothing yet

1.1.10 (2019-05-08)

  • Nothing yet

1.1.9 (2019-05-07)

  • Nothing yet

1.1.8 (2019-05-07)

  • Nothing yet

1.1.7 (2018-11-13)

  • Nothing yet

1.1.6 (2018-10-23)

  • Nothing yet

1.1.5 (2018-10-23)

  • Nothing yet

1.1.4 (2018-10-23)

  • Nothing yet

1.1.3 (2018-10-22)

  • Nothing yet

1.1.2 (2018-10-22)

  • Use an assets manifest for improved caching #102

  • Expose theme assets for udata 1.6 #102

1.1.1 (2018-09-11)

  • Upgrade to udata 1.5.3

1.1.0 (2018-07-31)

  • Upgrade to udata 1.4

1.0.8 (2018-07-04)

  • Fix worker bug

  • Update IGSS Harvester Source

1.0.7 (2018-06-27)

  • Nothing yet

1.0.5 (2018-06-27)

  • Add Roadmap page #88

1.0.4 (2018-05-08)

  • Add CSV Harvester #86

1.0.3 (2018-04-25)

  • Add the missing topics theme

  • OEmbed cards theming #80

  • Fix the translatable header #81

1.0.2

Update udata to latest release

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

gouvlu-1.1.34-py2.py3-none-any.whl (158.5 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file gouvlu-1.1.34-py2.py3-none-any.whl.

File metadata

  • Download URL: gouvlu-1.1.34-py2.py3-none-any.whl
  • Upload date:
  • Size: 158.5 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/2.7.10

File hashes

Hashes for gouvlu-1.1.34-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 893e91b31091281d19b3dbfb8d3ced159513da5b2cdda997b36e43d91a828985
MD5 ddcc4f35d356bd2b50bfd67713be1a89
BLAKE2b-256 85cbc6469aa09ae4400f3f7ac96acb659f157bd8adf6fa63aaa6bd1fe00acfb0

See more details on using hashes here.

Supported by

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