vega

command module
v1.0.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 22, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

README

Vega (वेग)

Vega (वेग) is developer friendly project scaffolding tool to speed up development process.

Release Go Report Card

Installation

Several options to install:

  • Via Installer Script: curl -fsSL https://raw.githubusercontent.com/srijanone/vega/develop/scripts/install.sh | bash
  • Via Homebrew: brew install srijanone/vega/vega
    • Update vega: brew update && brew upgrade vega
    • For Mac and Linux
  • Via Go: go install github.com/srijanone/vega
    • (This might install latest unreleases/bleeding-edge version)
  • Via released binaries:

Requirements


Getting Started

  • vega: Vega usage

vega usage

  • vega init: Initializes vega

vega init

  • vega starterkit list: List all available starterkits

vega starterkit list

  • vega create awesome-app --starterkit nodejs+redis

vega create

  • vega up

vega down

  • vega down

vega down


Commands

Command Description Arguments Output
vega Prints out usage and help --home <path/to/home>
vega version Prints out version Vega 1.0.0
vega home Prints out home vega home
vega init Initializes vega
vega starterkit list List all available starterkits drupal8
nodejs
vega create [path] --starterkit <name> Creates the starter kit at provided directory --starterkit
--repo
vega install [path] Install a starterkit to existing project --repo
vega repo add <repo-name> <url> Add another starterkit repo, Can choose local folder as well
vega repo list Lists all the repo available --repo
vega hooks install [path] Installs git hooks to specified path
vega up Runs the application --port
--watch
--no-browser
vega down Stops the application and deletes the resources
Notes:
  • All commands can take additional --home flag which will override default $VEGA_HOME
  • --repo flag can take git url or local folder url
    • Examples:
      1. vega repo add globe git@github.com:vs4vijay/vega-starterkits.git
      2. vega repo add new /Users/viz/SrijanX/custom

Development

  • Run Vega: go run main.go
  • Release Binaries: goreleaser
    • Github Token to be created and exported: export GITHUB_TOKEN=<token>
    • Make command is added to Makefile:
      • make release-dry-run # to test and verify on local machine
      • make release-using-gorelease

Credits


LICENSE

This software is covered under the Apache v2.0 license. You can read the license here.

This software uses tilt binary, which is covered by the Apache v2.0 license too.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg
git

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL