Skip to content

Commit

Permalink
one liner
Browse files Browse the repository at this point in the history
  • Loading branch information
urigoren authored Mar 10, 2024
1 parent 64eebb1 commit 0da71fa
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions emb/run.sh
Original file line number Diff line number Diff line change
@@ -1,13 +1,2 @@
#!/bin/bash

# Command 1
command1="python3 db_model.py"

# Command 2
command2="uvicorn api:app --host 0.0.0.0 --port 8080"

# Run the commands
sleep 5
$command1
sleep 2
$command2
sleep 5;python3 db_model.py;sleep 2;uvicorn api:app --host 0.0.0.0 --port 8080

0 comments on commit 0da71fa

Please sign in to comment.