#################################
#Team 4                         #
#Melbourne,Sydney,Brisbane,Perth#
#Dong Wang     773504           #
#Danping Zeng  777691           #
#Jia Zhen      732355           #
#Jinghan Liang 732329           #
#Sixue Yang    722804           #
#################################

To build the whole environment, run the following command
cd cloud_assignment/Scripts
./main.sh 

For more information, check the Scripts folder.

Access http://115.146.93.201:5984/_utils to check the CouchDB web UI

Access to the web server http://115.146.93.179:8000 to get the analysis of several scenarios.

To check the status of current instance, volume and security group, follow the command
	python botocloud.py 4
To check and monitor the disk information using Ansible, run the command:
	ansible-playbook monitor.yaml -u ubuntu --sudo --private-key cloud.pem -i remotehosts

This system contains two parts: config.txt and crawling code
config.txt stores twitter application access
the format of config:
consumer_key
consumer_secret
access_token
access_secret
coordinates of city and
topic for historical_twitter
bounding of city
topic for new_twitter

crawling code:
twitter.py is main function to run this system.
filter.py is to filter duplicates by tweetid and identify gender by first name

And for this system,we creates many configs to use, though one config is better for distrited concept.

For this system, user can run by terminal or nohup service:
python main.py config.txt
or
nohup main.py config.txt &