Skip to content

dobyrm/bc-code-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blockchain Code Generator

Getting Started with Dockerfile

To run the application using Dockerfile, follow these steps:

  1. Build the Docker image:

    docker build -t bc-code-generator-app .
  2. Run the container:

    docker run -d --name bc-code-generator-app bc-code-generator-app
  3. Login to the container via Bash:

    docker exec -it bc-code-generator-app bash

Getting Started with docker-compose

To run the application using docker-compose, follow these steps:

  1. Run the app in detached mode:
    docker-compose up -d

Build App

To build the application from the source code, follow these steps:

  1. To build the application, run the following command:
    go build -o ./build/bc-code-generator-app

Run App

To run the application, you can choose one of the following methods:

  1. Run the application using the built binary:

    ./build/bc-code-generator-app
  2. Run the application without building the binary file:

    go run main.go

Run Test

To execute tests

  1. Execute all test functions in your package and get detailed output, including test names, execution times, and results

    go test -v
  2. Execute all benchmark functions in your package and measure performance. It executes functions starting with 'Benchmark' and outputs results

    go test -bench=.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published