/deployer

Primary LanguageGoMIT LicenseMIT

Deployer GoDoc Go Report Card

File Structure

    .github: contains the ci workflow 
    cmd: code implementation for commands
        │
        │―――― deploy.go: code for respective command
        │―――― doc.go: contains package declaration details
        │―――― root.go: code for the root command (in our case, deployer)
        │―――― undeploy.go: code for respective command
        │―――― version.go: code for respective command
    .gitignore
    LICENSE
    main.go: entrypoint to the program
    README.md
    go.mod: details about the modules used; auto-generate ./go.sum

Installation

First install Go.

If you just want to install the binary to your current directory and don't care about the source code, run

GOBIN="$(pwd)" go install https://github.com/izner32/deployer@latest

Command Structure

deployer deploy web 

Deployer API

Command Structure

deployer {command} {sub-command} {flags}
deployer deploy web 

Deployment Resources

  • deploy: Deploy the application
    • web:
    • api:
    • database:
  • undeploy: Remove deployment of the application
    • web:
    • api:
    • database:

Other Resources

  • status: Get status of the current deployment
    • web:
    • api:
    • database:
  • version: Get Version of the Deploy CLI

Flags

Global Flags

  • config:

Screenshots