Skip to content

aionnetwork/explorer_ETL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Setup

Database

  1. Install Mysql 5.5.
  2. Run the creation script in the mysql folder
  3. Create a user aion using: CREATE USER 'aion'@'localhost' IDENTIFIED BY 'password' GRANT ALL PRIVILEGES ON aion.* TO 'aion'@'localhost';

Configuration

Modify the configuration.

The DB user and password can be added modified either through the config.json or the .env file.

Config.json based configuration
  1. Add the DB user and password.
  2. Add a comma separated list of api sockets eg. ["127.0.0.1:8547", "192.168.1.3:8547"] to the API section
  3. Remove the settings for the DB_USER, DB_PASSWORD and JAVA_API_URI from the .env file
.env based setup
  1. Add the DB_USER and DB_PASSWORD
  2. Add a colon separated list of api sockets eg. "127.0.0.1:8547;192.168.1.3:8547"

Build

  1. Move config.json to the root of the aion-etl project 2 Run cd aion-etl 3 Run chmod u+x gradlew
  2. Run ./gradlew clean build -x test
  3. The build will be found in the build/distribution folder

Run

  1. Run source config/.env
  2. Run cd aion-etl/build/distribution
  3. Extract the build
  4. Enter the build directory
  5. Run ./bin/aion-etl

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published