SOCIAL is a Social Welfare Calculator Adaptable to Varying Legal Frameworks.
SOCIAL enables the modeling and editing of social welfare calculators and questionnaires and can generate web applications based on these models. The model editor uses a Directed acyclic graph (DAG) to model calculators and questionnaires and is based on DAGitty by Textor et al., which was modified to enable domain-specfific modeling. SOCIAL can then convert the model to a web application.
- Download SOCIAL from GitHub
- Run
npm install - Run
ng servefor a dev server. To test the editor, set up aPHPserver to serve the files fromdagitty-social/gui.
Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the --prod flag for a production build.
Assuming a Ubuntu 20.04.1 LTS server. To install the LAMP Stack, you can follow the instructions by Linode.
- Upload the build artifacts (the application) to the server.
- Upload the directory
dagitty-social/gui(the editor) to the server. - Place the
PythonScript in/usr/local/bin/dot_to_formly_json-python - Ensure the
editor/modelsandassets/json-powereddirectories can be written to using thePythonscript (correct permissions)
A version has also been deployed at https://social.cosy.univie.ac.at
This project was generated with Angular CLI version 9.0.5.