- Install Docker.
- Build the docker image:
docker build . -t openfisca-aotearoa
- Run the image:
docker run -it -p 5000:5000 openfisca-aotearoa
If you are considering building a web application, you can use the packaged OpenFisca Web API.
To serve the Openfisca Web API locally, run:
openfisca serve --port 5000
To read more about the openfisca serve
command, check out its documentation.
You can make sure that your instance of the API is working by requesting:
curl "http://localhost:5000/spec"
This endpoint returns the Open API specification of your API.
🎉 OpenFisca Aotearoa is now served by the OpenFisca Web API! To learn more, go to the OpenFisca Web API documentation