{"repo":"laws-africa/indigo","free":true,"listed":false,"github":"https://github.com/laws-africa/indigo","clone":"git clone https://github.com/laws-africa/indigo.git","description":"Indigo Platform for publishing beautiful legislation.","language":"HTML","stars":77,"topics":["akoma-ntoso","django","python","javascript","backbonejs","legislation"],"license":null,"category":"databases-storage","readme_excerpt":"Indigo Indigo is Laws.Africa's legislation database for managing, consolidating and publishing legislation in the Akoma Ntoso format. It is a Django python web application using: Django Cobalt -- a lightweight Python library for working with Akoma Ntoso Bluebell -- a generic Akoma Ntoso 3 parser, supporting all hierarchical elements and multiple document types django-rest-framework Read the full documentation at indigo.readthedocs.io. Local development Refer to https://indigo.readthedocs.io/en/latest/running/index.html Adding translation strings Each indigo package has its own translations in the locale directory, and Javascript translations are in static/i18n . Translations for strings are added on CrowdIn. If you have added or changed strings that need translating, you must tell Django to update the .po files so that translations can be supplied through CrowdIn. And then commit the changes. CrowdIn will pick up any changed strings and make them available for translation. Once they are translated, it will open a pull request to merge the changes into main. Once merged into main, you must tell Django to compile the .po files to .mo files: And then commit the changes. npm module dependencies Indigo is migrating to modules written in ES6 using Vue. This code needs to be compiled into a single JS file using webpack. During development, using npx webpack -w to watch for changes and recompile automatically. Testing To run the tests use: Production deployment Read the documentation","default_branch":null,"files":null,"tree":[],"storefront":"/r/laws-africa","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/laws-africa/indigo/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}