Setting Up using Script
Video Setup Guide
Note: Step 8 below is not mentioned in the video; please follow it as well.
Prerequisites
Steps Performed in the Video
-
Fork the PictoPy repository: https://github.com/AOSSIE-Org/PictoPy
-
Open your terminal (or Powershell with administrator privileges on Windows)
-
Clone your forked repository:
- Change to the repository directory:
- Add the main repository as "upstream":
- Run the Automatic Setup:
The setup script installs the CPU-only
onnxruntimepackage for local development. The release workflow swaps in platform-specific GPU providers, and the onboarding recommendation uses hardware detection rather than ONNX Runtime provider detection.Note: This step can take a long time depending on your internet connection and system specifications. If the script seems to stop progressing after waiting for more than 10 minutes, press Enter in your terminal window to continue.
- Start the Backend Server:
### Windows
### Linux
- Start the Sync-Microservice:
Open a new terminal window, navigate to the project directory, and run:
### Windows (Sync-Microservice)
### Linux (Sync-Microservice)
- Start the Frontend Desktop App:
Open a new terminal window, navigate to the project directory, and run:
-
Pre-commit Setup:
Before running the
git commitcommand, ensure you have the following Python packages installed globally:Note: If you are committing from a virtual environment, these packages should already be installed as they are included in the requirements.txt file.