Skip to content

Commit

Permalink
All Ports 7888
Browse files Browse the repository at this point in the history
  • Loading branch information
Moibe authored Dec 19, 2024
1 parent c4231d1 commit 0eafb42
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deployer.sh
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
#!/bin/bash
timestamp=$(date +"%d-%m-%Y %H:%M:%S")
pid=$(lsof -i :7880 | awk 'NR==2 {print $2}')
pid=$(lsof -i :7888 | awk 'NR==2 {print $2}')
kill $pid
echo "Proceso eliminado: $pid @ $timestamp"

sleep 5

cd
cd code/ocean-devo-superheroes/
cd code/ocean-superheroes/
source venv/bin/activate
python app.py &
PID=$(pgrep -f "python app.py")
Expand Down

0 comments on commit 0eafb42

Please sign in to comment.