Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/bsaunders95/accounts-statistics-tool

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/bsaunders95/accounts-statistics-tool

  • v0.0.0-20201015104618-8b0752e56847
  • Source
  • Go
  • Socket score

Version published
Created
Source

accounts-statistics-tool

A tool to fetch accounts data

Prerequisites

  • Golang 1.12+
  • Docker
  • MongoDB

Environment variables

The following environment variables are used for program execution

VariableRequiredExampleDefaultNotes
TRANSACTIONS_MONGODB_URLmongodb://localhost:27017/This variable must follow the standardised MongoDB connection string format
TRANSACTIONS_MONGODB_DATABASEusers_application
LOG_LEVELdebuginfoA lower case representation of the standard log level enumerations. Possible values can be found here

Building and running

Docker

Bake a Docker image using the following command at the base of the project:

docker build --build-arg transactions_mongodb_url="<your_mongo_connection_string>" --build-arg transactions_mongodb_database="<your_mongo_db_name> -t <image_name> .

An additional --build-arg flag with key log_level can be optionally set to configure the log level of the environment.

Once built, run the image using:

docker run <image_name>

FAQs

Package last updated on 15 Oct 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc