Skip to content

MiroslavGatsanoga/backend-task-tester

 
 

Repository files navigation

Env variables

API_PORT={number, ex.3040}

LANG={RUST|GO|NODE|JAVA}
ETH_NODE_URL={infura or alchemy endpoint}
DB_CONNECTION_URL={postgres connection string}
INTEGRATED=

Using the test tool

Set env variables (example setup)

export API_PORT="8080"
export DB_CONNECTION_URL="postgresql://localhost/postgres?user=postgres&password=password1234"
export ETH_NODE_URL=https://goerli.infura.io/v3/b6e734b85b1f42fd94f9fddcbdf556ba

Postgres

docker run --name postgres --network my-app -p 5432:5432 -e POSTGRES_PASSWORD=password1234 -d postgres

Linux

wget https://github.com/LimeChain/backend-task-tester/raw/main/limetester-linux.sh
./limetester-linux.sh

macOS

wget https://github.com/LimeChain/backend-task-tester/raw/main/limetester-osx.sh
./limetester-osx.sh

Building the tool

If there are any changes to the tester's codebase make sure to rebuild and commit the binaries. For building use:

./build.sh

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 99.0%
  • Shell 1.0%