Skip to content

Latest commit

 

History

History
80 lines (52 loc) · 1.82 KB

File metadata and controls

80 lines (52 loc) · 1.82 KB

Setting Up using Script

Video Setup Guide:

Prerequisites:

  • NodeJS (LTS Version Recommended)
  • Git version control system

Steps Performed in the Video:

  1. Fork the PictoPy repository: https://github.com/AOSSIE-Org/PictoPy

  2. Open your terminal (or Powershell with administrator privileges on Windows)

  3. Clone your forked repository:

    git clone https://github.com/yourUsername/PictoPy
  4. Change to the repository directory:

    cd PictoPy
  5. Add the main repository as "upstream":

    git remote add upstream https://github.com/AOSSIE-Org/PictoPy
  6. Run the Automatic Setup

    npm run setup

    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.

  7. Start the Backend Server

    Windows

    cd .\backend
    .env\Scripts\activate.ps1
    fastapi dev

    Linux

    cd ./backend
    source .env/bin/activate
    fastapi dev
  8. Start the Frontend Desktop App

    Open a new terminal window, navigate to the project directory, and run:

    cd frontend
    npm run tauri dev
  9. Pre-commit Setup

    Before running the git commit command, ensure you have the following Python packages installed globally:

    pip install ruff black mypy pre-commit

    Note: If you are committing from a virtual environment, these packages should already be installed as they are included in the requirements.txt file.