Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
CursedPrograms authored Oct 10, 2024
1 parent c32cd99 commit 26972d7
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions run.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!/bin/bash

VENV_DIR="psdenv"

# Check if the virtual environment directory exists
if [ ! -d "$VENV_DIR" ]; then
# Create the virtual environment
python -m venv "$VENV_DIR"
fi

# Activate the virtual environment and run the Python script
source "$VENV_DIR/bin/activate"
python main.py

# Pause for user input before closing (optional)
read -p "Press Enter to continue..."

0 comments on commit 26972d7

Please sign in to comment.