Skip to content

Commit

Permalink
feat: added run for render deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
AnsahMohammad committed May 1, 2024
1 parent cb174dd commit 49ff657
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions run.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
python3 -m venv .env
source .env/bin/activate

pip install -r requirements.txt
python3 -m src.phantom --num_threads 10 --urls "https://www.geeksforgeeks.org/" "https://stackoverflow.com/questions" "https://en.wikipedia.org/wiki/India" "https://developers.cloudflare.com/" "https://bloggingidol.com/best-programming-blogs/" --show_logs True --print_logs True --sleep 600

clear
echo "Installation done"
python3 -m src.phantom_indexing
echo "Phantom Processing done"
clear
python3 -m src.query_engine

0 comments on commit 49ff657

Please sign in to comment.