divolte / divolte-collector

Divolte Collector
https://divolte.io/
Apache License 2.0
282 stars 77 forks source link

A noob starter guide is needed ! #139

Open kaji-bikash opened 8 years ago

kaji-bikash commented 8 years ago

I am completely alien to java server deployment workflow. Looking through README and examples, I have not been able to figure out how about I go to setup the endpoint which would collect the clickstreams from a particular webpage provided that webpage has javascript file hooked. Many issues and README suggest

Go into the bin directory of your installation and run:

cd divolte-collector-0.2/bin
./divolte-collector

I don't see any bin folder under any releases i downloaded.

I even tried to follow the default README eg. ./gradlew tarball

I got following for master branch git checkout.

* What went wrong:
Could not resolve all dependencies for configuration ':compileClasspath'.
> Could not find io.divolte:divolte-schema:0.5.0-SNAPSHOT.
  Searched in the following locations:
      file:/root/.m2/repository/io/divolte/divolte-schema/0.5.0-SNAPSHOT/maven-metadata.xml
      file:/root/.m2/repository/io/divolte/divolte-schema/0.5.0-SNAPSHOT/divolte-schema-0.5.0-SNAPSHOT.pom
      file:/root/.m2/repository/io/divolte/divolte-schema/0.5.0-SNAPSHOT/divolte-schema-0.5.0-SNAPSHOT.jar
      https://repo1.maven.org/maven2/io/divolte/divolte-schema/0.5.0-SNAPSHOT/maven-metadata.xml
      https://repo1.maven.org/maven2/io/divolte/divolte-schema/0.5.0-SNAPSHOT/divolte-schema-0.5.0-SNAPSHOT.pom
      https://repo1.maven.org/maven2/io/divolte/divolte-schema/0.5.0-SNAPSHOT/divolte-schema-0.5.0-SNAPSHOT.jar
  Required by:
      io.divolte:divolte-collector:0.5.0-SNAPSHOT
asnare commented 8 years ago

The documentation includes a Getting Started chapter: http://divolte-releases.s3-website-eu-west-1.amazonaws.com/divolte-collector/0.4.1/userdoc/html/getting_started.html

Does this help?

kaji-bikash commented 8 years ago

I downloaded from https://github.com/divolte/divolte-collector/archive/divolte-collector-0.4.1.tar.gz and followed through the link.

% tar xzvf divolte-collector-0.4.1.tar.gz
% cd divolte-collector-divolte-collector-0.4.1
% touch conf/divolte-collector.conf
% ./bin/divolte-collector

There is no conf folder and there is no bin/divolte-collector either !

asnare commented 8 years ago

Ahh. Indeed, the guide mentions the wrong place to download the release. Instead you have the source code. Try: http://divolte-releases.s3-website-eu-west-1.amazonaws.com/divolte-collector/0.4.1/distributions/divolte-collector-0.4.1.tar.gz