Skip to content

bastean/bingo

Repository files navigation

logo readme

Example service for generating custom cross-compile executable binaries


license MIT go report card commitizen friendly release it

upgrade workflow ci workflow release workflow

go reference github release

Usage

make demo

Screenshots

Binary

chmod +x bingo
./bingo --help
Example service for generating custom cross-compile executable binaries

Usage:
  bingo [flags]
  bingo [command]

Available Commands:
  animal      Generate random animal information
  completion  Generate the autocompletion script for the specified shell
  help        Help about any command
  internet    Generate random internet information
  language    Generate random language information
  payment     Generate random payment information
  person      Generate random person information

Flags:
  -h, --help   help for bingo

Use "bingo [command] --help" for more information about a command.
./bingo person --help
Generate random person information

Usage:
  bingo person [flags]

Flags:
      --email   Generate random email
  -h, --help    help for person
      --phone   Generate random phone

First Steps

Clone

HTTPS

git clone https://github.com/bastean/bingo.git && cd bingo

SSH

git clone git@github.com:bastean/bingo.git && cd bingo

Initialize

Dev Container (recommended)

  1. Install required

  2. Start VS Code

    code .
  3. Open Command Palette

    • Ctrl+Shift+P
  4. Run

    Dev Containers: Reopen in Container

Locally

  1. Install required

  2. Run

    make init

ZIP

  1. Install required

  2. Run

    make init-from-zero

Run

ENVs

Important

Before running it, you must set the following environment variables and rename the file to .env.(dev|test|prod)

Tip

You can check the demo file to see which values you can use

Development

make compose-dev

Test

  • Unit

    make test-unit
  • Integration

    make test-integration
  • Acceptance

    make compose-test-acceptance
  • All

    make compose-test-all

Production

make compose-prod

Tech Stack

Base

Please see

Contributing

  • Contributions and Feedback are always welcome!

License