Group33 Assignment2
This project requires our team to develop a front-end web application based on the cloud system (UniMelb Research Cloud) to tell and visualize interesting life stories in Australia and improve our understanding of Australian life.
The front-end of this project utilizes Streamlit, an open-source application framework, for constructing interactive, data-driven applications with Python scripts and supports complex objects and models. Streamlit is characterized by its real-time interactivity, expedited development process, and it simplifies the deployment of data-driven web applications. In this project, we optimized the efficiency of data requests from the backend by using Streamlit's internal plugins, thus improving user experience.
Part one:
##team
This repository includes an Ansible script (Ansible.yaml
in the Data
folder) for setting up the required environment and running the Python application. The script automates the following tasks:
- Install Python3
- Install pip for Python3
- Install Mastodon and CouchDB Python libraries using pip
- Install Transformers library using pip
- Install Scipy library using pip
- Install PyTorch library using pip
- Run the Python application
Mastodon.py
in a detached mode
To execute the Ansible script, navigate to the directory containing the script and run the following command in the terminal:
$ ansible-playbook Ansible.yaml
$ pip3 install -r environment.txt
$ python3 main.py
$ pip3 install -r requirement.txt
$ python3 app.py