automated push from the terminal

This commit is contained in:
Software Shinobi
2026-02-19 00:37:10 -05:00
parent d83faa7a34
commit 3e65788ffd
9 changed files with 447 additions and 194 deletions

25
.recycle/provision.bash Executable file
View File

@@ -0,0 +1,25 @@
#!/bin/bash
# 1. Setup/Re-setup Virtual Environment
python3 -m venv venv
source venv/bin/activate
# 2. Downgrade pip to bypass the invalid metadata error in django-rest-auth-forked
pip install "pip<24.1"
# 3. Install requirements (now it will ignore the parenthesis error)
if [ -f "requirements.txt" ]; then
pip install -r requirements.txt
else
pip install django
fi
echo "Setup complete. Run 'source venv/bin/activate' to start working."