automated push from the terminal

This commit is contained in:
Software Shinobi
2026-02-18 22:37:13 -05:00
parent 1194d31f8c
commit d83faa7a34
8 changed files with 287 additions and 1591 deletions

25
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."