Content Curation Web App for Disaster Volunteers
Want to help out? First check out our wiki to set up your workstation.
You'll need to start up both Chrome and our Server/DB
- Chrome: Linux:
/opt/google/chrome/google-chrome --disable-web-security
OSX:open /Applications/Google\ Chrome.app --args --disable-web-security
- Server & DB:
./start
To restart use./stop
Flags available in start script:
-m
Starts only mongo server daemon-h
Runs only historicTweets.py and processes it depends on.-c
Runs only crisisServer.py and processes it depends on.-i
Reserved. Will be used to do initialization stuff.- Behavior when no flags are mentioned: All 3 processes are started. Similar to
-mch
Flags available in stop script:
-m
Stops mongo server daemon and all processes that depend on it.-h
Stops only historicTweets.py.-c
Stops only crisisServer.py.- Behavior when no flags are mentioned: Stops all processes except the mongo server daemon. Similar to
-ch
.
If things aren't working you can do things manually here.
You'll know you've run out of tweets once you see this one pop up:
"Ottawa overrules health officials on heroin replacement study - OTTAWA &" from wwwHUMORcat or "RT @TornadoTitans: “@yaya_castillo: This pipeline explosion is 50+ miles east between Forgan &" from Leonisx
At this point, you need to restart the historical tweet stream. This can be accomplished by:
- Opening the DB Shell [see above]
- Type in:
use current_database
and press enter - Type in:
db.tweets.drop()
and press enter. - You should see
true
outputted back to you. - Stop the historical tweet stream [see above] by typing
Ctrl-C
and then starting it up again.