Blane187 commited on
Commit
0e48e0f
·
verified ·
1 Parent(s): 83bc3f7

Delete run.sh

Browse files
Files changed (1) hide show
  1. run.sh +0 -27
run.sh DELETED
@@ -1,27 +0,0 @@
1
- #!/bin/sh
2
-
3
- set -fa
4
-
5
- # Check if Python is installed
6
- if ! command -v python; then
7
- echo "Python not found. Please install Python using your package manager or via PyEnv."
8
- exit 1
9
- fi
10
-
11
- requirements_file="requirements/main.txt"
12
- venv_path=".venv"
13
-
14
- if [[ ! -d "${venv_path}" ]]; then
15
- echo "Creating venv..."
16
-
17
- python -m venv "${venv_path}"
18
- source "${venv_path}/bin/activate"
19
-
20
- # Check if required packages are up-to-date
21
- pip install --upgrade -r "${requirements_file}"
22
- fi
23
- echo "Activating venv..."
24
- source "${venv_path}/bin/activate"
25
-
26
- # Run the main script
27
- python web.py --pycmd python