This Flask application serves as the user interface for the distributed training system. It provides a web-based interface for users to interact with various functionalities such as creating simulations, starting simulations, viewing simulation results, and more.
The Flask application is designed to facilitate the interaction between users and the distributed training system. It offers a user-friendly interface that allows users to perform tasks related to managing simulations and viewing results.
Key features of the application include:
- User Authentication: Users can sign up and log in to access the system.
- Simulation Creation: Users can create new simulations with customizable parameters.
- Simulation Management: Users can start simulations, monitor their progress, and view simulation results.
- User-Friendly Interface: The application provides an intuitive interface for easy navigation and interaction.
To use the Flask application, follow these steps:
- Install Python dependencies using
pip install -r requirements.txt
. - Run the Flask application with
python app.py
. - Access the application in your web browser at
http://localhost:5000
.
This document outlines the prerequisites required to set up and run the application on different operating systems: Windows, Linux (general), Ubuntu, and macOS.
Before starting, ensure you have the following prerequisites installed:
-
Python 3:
You can download and install Python 3 from the official website: Python.org -
pip (Python Package Installer):
pip usually comes pre-installed with Python 3. However, if it's not installed, you can refer to the official documentation for installation instructions: pip Installation
For Windows users, additional steps are required:
- Install venv:
py -m pip install --user virtualenv
To set up the application, follow these steps:
-
Clone the repository or download the source code.
-
Navigate to the project directory in your terminal or command prompt.
-
Run the setup script:
python3 setup.py