uData customizations for Data.gouv.fr
Project description
uData-gouvfr
uData customizations for Etalab / Data.gouv.fr.
Note: This is a uData extension, you should read the uData documentation first.
Compatibility
udata-gouvfr requires Python 2.7+ and uData.
Installation
Install uData.
Remain in the same Python virtual environment and install udata-gouvfr:
pip install udata-gouvfr
Create a local configuration file udata.cfg in your udata directory (or where your UDATA_SETTINGS point out) or modify an existing one as following:
PLUGINS = ['gouvfr']
THEME = 'gouvfr'
Development
Prepare a udata development environment.
It is recommended to have a workspace with the following layout:
$WORKSPACE
├── fs
├── udata
│ ├── ...
│ └── setup.py
├── udata-gouvfr
│ ├── ...
│ └── setup.py
└── udata.cfg
The following steps use the same Python virtual environment and the same version of npm (for JS) as udata.
Clone the udata-gouvfr repository into your workspace and install it in development mode:
git clone https://github.com/etalab/udata-gouvfr.git
pip install -e udata-gouvfr
Modify your local udata.cfg configuration file as following:
PLUGINS = ['gouvfr']
THEME = 'gouvfr'
You can execute udata-gouvfr specific tasks from the udata-gouvfr directory.
ex: Build the assets:
cd udata-gouvfr
npm install
inv assets-build
You can list available development commands with:
inv -l
Changelog
1.2.4 (2018-01-24)
Licenses: Update SHOM attachment + fix BAN URL #249
1.2.3 (2018-01-17)
1.2.2 (2017-12-14)
Export CSS dropdown behavior to udata #234
Remove internal FAQ and switch to doc.data.gouv.fr #236
1.2.1 (2017-12-06)
Export community resource avatar style to udata #233
Drop the terms.html template. Terms and conditions are now externalized and use the udata core template. (See udata#1285) #232
1.2.0 (2017-10-20)
Use new search blueprint from uData #224
1.1.2 (2017-09-04)
1.1.1 (2017-07-31)
Updated translations
1.1.0 (2017-07-05)
Use the new entrypoint-based theme management #164
Adjust the dataset reuses title overflow for proper display #172
Drop glyphicons, remove some useless classes and upgrade to bootstrap 3.3.7 #177
Use the core publish action modal #178
Fix the deuil header not being an SVG #180
Integrating latest versions of GeoZones and GeoLogos for territories. Especially using history of towns, counties and regions from GeoHisto. #499
Add the missing placeholders #194
Use the udata.harvesters entrypoint #195
Revamp actionnable tabs #189
Remove .btn-more class #191
1.0.9 (2017-06-28)
Nothing yet
1.0.8 (2017-06-21)
Fixed a typo #182
1.0.7 (2017-06-20)
Added a Licences page #181
1.0.6 (2017-04-18)
1.0.5 (2017-04-06)
Added a missing translation
Alphabetical ordering on SPD datasets
1.0.4 (2017-04-05)
Introduce SPD page and badge
1.0.3 (2017-02-27)
Translations update
Switch udata-js link to metaclic #161
1.0.2 (2017-02-21)
1.0.1 (2017-02-20)
1.0.0 (2017-02-16)
Remove some main menu entries (events, CADA, Etalab)
Use a new SVG logo
Apply changes from uData 1.0.0
0.9.1 (2017-01-10)
First published 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
Built Distribution
Hashes for udata_gouvfr-1.2.4-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0b269a704a152c38c6ec35942b4f5951eaa75c79de0d0ffa940bc82983dcc6d6 |
|
MD5 | 4002c6b604cace09869d94c473aca316 |
|
BLAKE2b-256 | cc11dc8e7166dafc141616dda8eae7a8420b6a0ad2a4ca57faeb3149e17e9ea7 |