openfisca / legislation-explorer

Explore legislation formulas and parameters.
https://legislation.demo.openfisca.org
GNU Affero General Public License v3.0
26 stars 12 forks source link

Add option to set a basename #138

Closed bonjourmauko closed 6 years ago

bonjourmauko commented 6 years ago

Connected to openfisca/openfisca-ops#13

To add with a basename, example fr.openfisca.org/legislation:

BASEPATH=/legislation npm run build
BASEPATH=/legislation node index.js

~Test with https://fr.openfisca.org/tmp~

Thanks to @Anna-Livia and @sandcha

Anna-Livia commented 6 years ago

@maukoquiroga I added some documentation in the readme. check it out before merging :)

bonjourmauko commented 6 years ago

@Anna-Livia Thanks, error has been corrected https://github.com/openfisca/legislation-explorer/pull/138/commits/36bcb681a81826bcaa8d7490432243d18f4b3495