Browse Source

launch script

Sylhaf 8 months ago
parent
commit
ab8bc46232
1 changed files with 18 additions and 0 deletions
  1. 18 0
      launch.sh

+ 18 - 0
launch.sh

@@ -0,0 +1,18 @@
+#!/bin/bash
+
+#need to be ran WITHIN THE DOCKER !! 
+
+# Navigate to the desired directory
+cd /mnt/dolistripe || exit
+
+# Remove the logs directory (be very careful with this command)
+sudo rm -rf logs
+
+# Install pip using the provided script
+sudo python3 get-pip.py
+
+# Install the required Python packages
+sudo pip install -r requirements.txt
+
+# Run the main Python script with arguments
+sudo python3 main.py -v -m