Build Python Web App to collect user data and make economic decisions.
We will be using the oTree open-source framework to build the survey elements of the app.
The app is hosted at the following link and can be used to provide demo data.
- The `settings.py` file generated by oTree.
- The `models.py` file generated by oTree.
- The `pages.py` file generated by the oTree framework.
-
The HTML files in the templates/workshop_app path.
- These files are composed of both HTML and CSS to display the webpages as intended.
-
The files for building and deploying the hosted app on the Heroku and Railway platforms.
- The `Procfile` tells the platform how to start the server process.
- The `runtime.txt` file specifies the Python version.
- The `requirements.txt` file specifies the Python package versions.
I have uploaded the Final Demo on Youtube and have embedded a low resolution compressed version below.
Demo.mp4
Credit should be provided to Simon Frasier University and Professor Farouk Abdul-Salam for providing insight into the usage of these tools to build and deploy the app. This is originally created as part of an Online Workshop.