Meetup data mining, part of the Social Media Mining Seminar at the Hasso-Plattner Institute Potsdam
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
data
lib
src
.gitignore
Readme.md
pom.xml
setup_libs.py

Readme.md

MeetupMiner

This repository collects a number of algorithms to find interesting events on Meetup. The algorithms are developed as part of the Social Media Mining seminar at the Hasso-Plattner Institute Potsdam.

Development

Setup

Libs

  • You'll need to add a com.sap.db.jdbc.hana_1.0.0.SNAPSHOT.jar to the lib folder that should contain the HANA jDBC driver. Project members can find a copy here.
  • Install the libs to your local repository by running ./setup_libs.py.

Secrets.java

You'll need to add a Secrets.java file that contains passwords and connection info. It should look like that:

package de.hpi.smm.meetup_miner.config;

public class Secrets {

  public static String HANA_IP_INTERN = "<IP>";
  public static String HANA_IP_VPN = "<IP>";
  public static int HANA_PORT = <PORT>;
  public static String HANA_USER = "<USERNAME>";
  public static String HANA_PASSWORD = "<PASSWORD>";
  
  
  public static String[] MEETUP_API_KEYS = new String[]{...};
}

Project members can find an up-to-date version here.

Installing new JAR-Dependencies

In the case that a dependency is not hosted by any Maven repository, it can be added to the lib directory. It has to comply to a certain naming scheme, please refer to the readme of the install-to-project-repo for details. It can then be installed by running ./setup_libs.py.

Connecting to the Database

Use the DatabaseConnector, see this example.