From 764f01e05a06cfb9ba4d7bcbc701e1acafaae2c4 Mon Sep 17 00:00:00 2001 From: Alex Soble Date: Mon, 10 Feb 2020 11:13:36 -0600 Subject: [PATCH 1/3] Add `make serve-local` command to Makefile + Save the user a step in getting started; make serving the app locally discoverable via the Makefile --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index f4cad074..79443a8d 100644 --- a/Makefile +++ b/Makefile @@ -38,3 +38,6 @@ check-style: test: clean check-syntax-errors check-style openfisca-run-test --country-package openfisca_country_template openfisca_country_template/tests + +serve-local: build + openfisca serve --country-package openfisca_country_template From 22657c55eb95c88593099db75303325d9f9be436 Mon Sep 17 00:00:00 2001 From: Alex Soble Date: Mon, 10 Feb 2020 11:23:02 -0600 Subject: [PATCH 2/3] Document make serve-local --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 8d8594de..8c63cc27 100644 --- a/README.md +++ b/README.md @@ -171,6 +171,12 @@ To serve the Openfisca Web API locally, run: openfisca serve --port 5000 ``` +Or use the quick-start Make command: + +``` +make serve-local +``` + To read more about the `openfisca serve` command, check out its [documentation](https://openfisca.org/doc/openfisca-python-api/openfisca_serve.html). You can make sure that your instance of the API is working by requesting: From 1470741ea0192e18951caf6345bf40ccb2a8c094 Mon Sep 17 00:00:00 2001 From: Alex Soble Date: Mon, 10 Feb 2020 11:25:31 -0600 Subject: [PATCH 3/3] Increment CHANGELOG and setup.py --- CHANGELOG.md | 7 +++++++ setup.py | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 425214f8..3cced21a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog + +### 3.9.9 - [#85](https://github.com/openfisca/country-template/pull/85) + +* Minor change. +* Details: + - Add `make serve-local` command to Makefile. + ### 3.9.8 - [#83](https://github.com/openfisca/country-template/pull/83) * Minor change. diff --git a/setup.py b/setup.py index cc6b747a..2177f92b 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ setup( name = "OpenFisca-Country-Template", - version = "3.9.8", + version = "3.9.9", author = "OpenFisca Team", author_email = "contact@openfisca.org", classifiers=[