To pull and install Python library requirements: pip3 install -r requirements.txt
This project is meant to be installed on a server so that it can be run on a continuous basis. The main.py file should be executed from a CRON job daily. It has been throttled to not exceed the limits of the Virus Total API.
To run the data collection manually, run python -m main.py Be sure to input your phone number into the Twilio entry points to receive text notifications of data collection.
If you are using Windows or Mac, install a viewer like Studio 3T. If using Linux, the following commands may help.
- To start the MongoDB instance:
sudo service mongod start
- To stop the MondoDB instance:
sudo service mongod stop
- To restart eh MongoDB instance:
sudo service mongod restart
- To enter the Mongo shell, simply enter:
mongo
- Once in Mongo shell, show DBs by entering:
show dbs
- To export a Mongo database or collection, enter:
mongodump -d <database_name> -o <directory_backup>
- To import a Mongo database or collection, enter:
mongorestore -d <database_name> <directory_backup>
- To export as JSON, enter:
mongoexport --db DB_NAME --collection COLLECTION_name --fields Field_name(s) --type=[csv or JSON} --out=Name-Path-Output-File
To use SCP to copy a Mongo DB from the remote server to your local machine: scp -r [email protected]:/path/to/remote/source /path/to/local/destination