kw1jjang / CalVoD

CalVoD
http://www.eecs.berkeley.edu/~kw1jjang/
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

When a tracker is run, the database needs to be automatically reset. #2

Closed kw1jjang closed 8 years ago

kw1jjang commented 8 years ago

Currently, we have to run "curl localhost:~~~/req/RESET" everytime we run the tracker. Can we merge this either with ./populate_tracker.sh or tracker.py?

chenjiayuan commented 8 years ago

moved it into ./populate_tracker.sh:

echo "Initiating tracker..." python tracker.py 8080 > log/tracker.txt & sleep .3 curl localhost:8080/req/RESET

chenjiayuan commented 8 years ago

this will be fixed in my new pull request