-
Notifications
You must be signed in to change notification settings - Fork 7
Installation
-
Install MongoDB (https://www.mongodb.com/download-center?jmp=nav ) : By default ROMImate is configured to connect Mongodb at default 27017 port.
(In case you decided to run mongo on different port, you will have to change port configuration. Following standard Node.js-Express.js instructions to change db configuration.) It is recommended to install a visual client of MongoDB for easy operation. For me Robomongo (https://robomongo.org/ ) worked well.
-
Install Node.js (https://nodejs.org/en/download/ )
-
Install Python3.5 and above (https://www.python.org/downloads/ ) : Make sure you install Python with "pip". You will have to install following python modules:
**a. pymongo (http://api.mongodb.com/python/current/installation.html ) **b. pandas(http://pandas.pydata.org/pandas-docs/stable/install.html ) **c. statsmodels (http://statsmodels.sourceforge.net/devel/install.html )
Clone ROMImate from GitHub : https://github.com/rkthakur/mediamixmodeling
Once you complete all these installations:
-
Add host entry for “dev-romimate.com” and www.dev-romimate.com for localhost in /etc/hosts.
** Start mongoDB
** Switch to cloned ROMImate folder “mediamixmodeling” from command prompt.
** => To run report interface go to"/reportinsterface/mmmdash" folder and run
$npm start # Your report interface should be accessible at http://dev-romimate.com:8088
** => To run regression analysis engine – go to “~anaysisEngines/” folder and run
$python3 LynearRegressionService.py # this service is configured to run at port 8000. It will be silently serving the request of report interface to generate model from sample data.