@@ -16,7 +16,7 @@ The interactions with the server are controlled by [idp.service.ts](https://gitl
The [AppSettings file](https://gitlab.com/krr/IDP-Z3/blob/main/idp_web_client/src/services/AppSettings.ts) contains important settings, such as the address of the IDP-Z3 sample theories.
The web clients are sent to the browser by the IDP-Z3 server as static files.
The static files are generated by the `/IDP-Z3/deploy.py` script as part of the deployment, and saved in the `/IDP-Z3/idp_server/static` folder.
The static files are generated by the `/IDP-Z3/deploy.py` script as part of the deployment, and saved in the `/IDP-Z3/idp_web_server/static` folder.
See the Appendix of [Development and deployment guide](https://gitlab.com/krr/IDP-Z3/-/wikis/Development-and-deployment-guide) on the wiki for a discussion on how to set-up your environment to develop web clients.
...
...
@@ -32,9 +32,9 @@ We use the following sphinx extensions: [Mermaid (diagrams)](https://pypi.org/pr
## IDP-Z3 server
The code for the IDP-Z3 server is in the `/idp_server` folder.
The code for the IDP-Z3 server is in the `/idp_web_server` folder.
The IDP-Z3 server is written in python 3.8, using the [Flask framework](https://flask.palletsprojects.com/en/1.1.x/). Pages are served by `/idp_server/rest.py`. Static files are served from the `/idp_server/static` directory, including the compiled version of the client software.
The IDP-Z3 server is written in python 3.8, using the [Flask framework](https://flask.palletsprojects.com/en/1.1.x/). Pages are served by `/idp_web_server/rest.py`. Static files are served from the `/idp_web_server/static` directory, including the compiled version of the client software.
At start-up, and every time the idp code is changed on the client, the idp code is sent to the `/meta` URL by the client. The server responds with the list of symbols to be displayed. A subsequent call (`/eval`) returns the questions to be displayed. After that, when the user clicks on a GUI element, information is sent to the `/eval` URL, and the server responds as necessary.