SOBotics / UserStalker

Detecting stuff about users on creation
https://chat.stackexchange.com/rooms/59667/mobotics
5 stars 4 forks source link

Documentation Clarification Request #27

Open hkunz opened 3 months ago

hkunz commented 3 months ago

I put up some documentation for myself since there was not much I could follow on a step by step basis in the README.md. Perhaps we can add this documentation in there for others to easily follow.

Repository: https://github.com/SOBotics/UserStalker git clone https://github.com/SOBotics/UserStalker.git

Prerequisites

Install Java:

sudo apt update
sudo apt install default-jre
sudo apt install default-jdk

Export Java to Path:

export JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64  # Adjust this path based on your actual installation
export PATH=$PATH:$JAVA_HOME/bin

Install Maven:

sudo apt install maven

Install web socket (wscat):

sudo apt install node-ws
wscat -c wss://echo.websocket.org # Test web socket if it is allowed

Configuration

Add repositories node into root of pom.xml:

  <repositories>
      <repository>
        <id>jitpack.io</id>
        <url>https://jitpack.io</url>
      </repository>
  </repositories>

Add dependency child node into dependencies node of pom.xml:

  <dependency>
      <groupId>com.github.SOBotics</groupId>
      <artifactId>chatexchange</artifactId>
      <version>605ffcb</version>
  </dependency>
  <dependency>
      <groupId>org.glassfish.tyrus.bundles</groupId>
      <artifactId>tyrus-standalone-client-jdk</artifactId>
      <version>2.1.5</version>
  </dependency>
  <dependency>
      <groupId>javax.json</groupId>
      <artifactId>javax.json-api</artifactId>
      <version>1.0</version>
  </dependency>

Remove dependency child node (this one is replaced by com.github.SOBotics

  <dependency>
      <groupId>org.sobotics</groupId>
      <artifactId>chatexchange</artifactId>
      <version>2.0.0</version>
  </dependency>

Create a sock puppet account

Bhargav-Rao commented 3 months ago

Thanks, can you add this into a .md file and put it into a /docs folder? We can merge it in.

Bhargav-Rao commented 3 months ago

Actually, hold on. Some of those changes probably should be made to the base code itself. I'll see if I get some time sometime later this week and work on this. Thanks once again.