copyright_checker / update_and_restart.sh
aliasgerovs's picture
Added deployment updates.
72fe634
raw
history blame
370 Bytes
#!/bin/bash
# Navigate to your app's directory
cd /home/aliasgarov/copyright_checker
# Pull the latest changes from the main branch
git pull origin main
# Kill the running Gradio
pkill -f "app.py"
# Activate your Python environment if necessary
# source /path/to/your/venv/bin/activate
# Start your Gradio app (adjust the command as needed)
nohup python app.py &