openfisca / openfisca-web-api

[DEPRECATED] Web API for OpenFisca
https://www.openfisca.fr/
GNU Affero General Public License v3.0
13 stars 11 forks source link

Add openfisca-serve CLI script #59

Closed cbenz closed 8 years ago

cbenz commented 8 years ago

We can now use:

$ openfisca-serve
16:29:48,884 INFO  [root] Generating grammar tables from /usr/lib/python2.7/lib2to3/Grammar.txt
16:29:48,920 INFO  [root] Generating grammar tables from /usr/lib/python2.7/lib2to3/PatternGrammar.txt
Serving on http://localhost:2000/

to start the Web API.

fpagnoux commented 8 years ago

Does't seem to work for me with a local editable installation of the api.

fpagnoux commented 8 years ago

To launch the API from a clean virtualenv:

pip install openfisca_web_api # today `pip install "openfisca_web_api == 1.1.0.dev0"`
pip install openfisca_france
openfisca-serve --port 2000

This is simple 👍

fpagnoux commented 8 years ago

Seems GTM to me.