Giter VIP home page Giter VIP logo

arroch's Introduction

Arroch

Quickstart

  • Requirements:
    • Oracle JDK (OpenJDK is not supported)
    • sbt (Scala)
  • Steps:

Database settings

Database configuration is in conf/application.conf, you may also need to change SQL dialect in conf/META-INF/persistence.xml

Test data generator

To fill the database with random data:

  • (For persistent database only) Drop tables from database (or switch to H2 in mem db provider)
  • In conf/application.conf set databasePreloader.addTestData to true
  • Run the application (generation occurs on start, so it may take a few minutes for the first page to load)

IntelliJ IDEA quickstart

  • Requirements:
    • Oracle JDK (OpenJDK is not supported)
    • IntelliJ IDEA Ultimate with Scala plugin
  • Steps:
    • Import project from Git
    • Go to build.sbt and import SBT project
    • Wait until all dependencies are resolved and project indexed
    • In any class file in app choose Run Play 2 App from the context menu

Data Scrapers

Google People API

In order to make it working:

  1. Visit the Google Developer Console
  2. Create new project
  3. Enter API library and enable "Google People API"
  4. Enter credentials tab
  5. Click Create credentials โžœ OAuth Client ID โžœ Web Application
  6. In the form that showed up, enter the redirect URL: http://localhost:9000/google/authenticated/ and click Create
  7. Enter the newly created client ID and click "Download JSON"; put the file in conf/google_client_secrets.json
  8. Visit http://localhost:9000/google and it should, after consent, import the People into the database

Facebook

  1. Login to https://mbasic.facebook.com/home.php
  2. Extract Facebook cookies from browser and put them in file conf/facebook_cookies
  3. Do not logout

Messenger

  1. Login to https://www.messenger.com
  2. Extract Messenger cookies from browser and put them in file conf/messenger_cookies
  3. Do not logout

arroch's People

Contributors

apardyl avatar m4tx avatar rskr avatar vonknio avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

vonknio

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.