koddr/cgapp

By koddr

Updated over 1 year ago

Official Docker image for working with Create Go App CLI.

Image
1

1.4K

Quick reference

What is the Create Go App CLI?

Create a new production-ready project with backend (Golang), frontend (JavaScript, TypeScript) & deploy automation (Ansible, Docker) by running one CLI command.

The Create Go App project allow you to prepare and deploy your project without any unnecessary headaches. Focus on writing code and thinking of business logic! The CLI will take care of the rest.

logo

How to use this image

Simple example

$ docker run --rm -it -v ${PWD}:${PWD} -w ${PWD} koddr/cgapp:latest

General information about CLI will be displayed:

A powerful CLI for the Create Go App project.

Create a new production-ready project with backend (Golang), 
frontend (JavaScript, TypeScript) and deploy automation 
(Ansible, Docker) by running one CLI command.

Focus on writing your code and thinking of the business logic!
The Create Go App CLI will take care of the rest.

A helpful documentation and next steps -> https://github.com/create-go-app/cli

Usage:
  cgapp [command]

Available Commands:
  create      Create a new project via interactive UI
  deploy      Deploy your project to a remote server via interactive UI
  help        Help about any command

Flags:
  -h, --help      help for cgapp
  -v, --version   version for cgapp

Use "cgapp [command] --help" for more information about a command.

Complex example

create

CLI command to create a new project with the selected configuration.

Run create command without any arguments:

$ docker run --rm -it -v ${PWD}:${PWD} -w ${PWD} koddr/cgapp:latest create
deploy

CLI command for deployment process (deploy) is currently unavailable in this Docker image.

Image Variants

The koddr/cgapp images come in many flavors, each designed for a specific use case.

koddr/cgapp:<version>

This is the de facto image. If you are unsure about what your needs are, you probably want to use this one. It is designed to be used both as a throw away container (mount your source code and start the container to start your app), as well as the base to build other images off of.

License

View license information for the software contained in this image.

As with all Docker images, these likely also contain other software which may be under other licenses (such as Bash, etc from the base distribution, along with any direct or indirect dependencies of the primary software being contained).

Docker Pull Command

docker pull koddr/cgapp