Make sure you have Python installed on your system. You can download Python from python.org.
You can set up and run the project using either a PowerShell script (run.ps1
) on Windows or a Bash script (run.sh
) on Unix-like systems.
-
Open PowerShell and navigate to the project directory:
cd path\to\Innovative-Approaches-to-Asset-Prediction
-
Set the execution policy to allow running scripts if it's not already set:
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
-
Run the PowerShell script:
.\run.ps1
-
Open a terminal and navigate to the project directory:
cd path/to/Innovative-Approaches-to-Asset-Prediction
-
Make the script executable (if it is not already):
chmod +x run.sh
-
Run the Bash script:
./run.sh
- Create a virtual environment in the project directory (if it doesn't already exist).
- Activate the virtual environment.
- Install the required dependencies listed in
requirements.txt
.
These scripts automate the setup and execution process, making it easier to get the project up and running.
- Ensure that your terminal or PowerShell has the necessary permissions to execute scripts.
- If you encounter any issues with the execution policy in PowerShell, you might need to run PowerShell as an administrator to change the execution policy.
- The virtual environment directory is named
.venv
and is located in the project root directory.