diff --git a/.nojekyll b/.nojekyll index 4e0b2a6..bc25002 100644 --- a/.nojekyll +++ b/.nojekyll @@ -1 +1 @@ -819c7054 \ No newline at end of file +166460bf \ No newline at end of file diff --git a/book/developer_notes.html b/book/developer_notes.html index 5d53528..31f06f9 100644 --- a/book/developer_notes.html +++ b/book/developer_notes.html @@ -378,7 +378,7 @@

You should then be able to access the API at http://localhost:7071/api/scenario. For example, you can test it using the following command, which asks it to calculate the baseline indicators (an empty scenario means no changes relative to the baseline):

curl http://localhost:7071/api/scenario -X POST -d "{\"scenario_json\": {}}" -v
  • To deploy it to Azure, run the following, which will take a few minutes:

    -
    func azure functionapp publish demolandapi
    +
    func azure functionapp publish demolandapi --python

    Test it with:

    curl https://demolandapi.azurewebsites.net/api/scenario -X POST -d "{\"scenario_json\": {}}" -v
  • diff --git a/index.html b/index.html index 7298468..7fb51d0 100644 --- a/index.html +++ b/index.html @@ -7,7 +7,7 @@ - + Land Use Demonstrator