Skip to content
MeihaoChen edited this page Dec 11, 2015 · 5 revisions

##Automated installation (for Mac OS X) If your server is running Mac OS X, we recommend using our easy auto-installation script. The script will install all dependencies and make all appropriate configuration changes for you. For non-OSX systems, please read our manual installation instructions below.

To start easy installation, execute the following command to install the prerequisite application Homebrew:

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Execute the following command to install the prerequisite application curl:

brew install curl

Then run the command below:

curl -s "https://raw.githubusercontent.com/NYU-CDS-Capstone-Project/dahlia/master/Proc/deploy.sh?token=AIZx7soRflein1NvkShY4xMCvzbXIcfqks5WcfYUwA%3D%3D" -o /var/root/deploy.sh ; /bin/bash /var/root/deploy.sh

Now you can go to your web server directory and get started!

##Manual Installation While Dahlia's web interface is easy to use for non-technical people, installing Dahlia, however, currently requires some knowledge of system administration via the command line.

Clone the GIT repository into your web directory:

git clone https://github.com/NYU-CDS-Capstone-Project/dahlia.git

###Prerequisites While capturing Twitter data from the streaming API does not need a lot of resources, the analysis of larger datasets (> 1 million tweets) can get slow. Thus we use python and related libraries to stream and process the data for visualization. Followings are softwares required by our application:

Python 2.7

NLTK especially NLTK corpus

reverse_geocoder

You should manually install these packages into your environment before getting started.

Clone this wiki locally