srijanone / vega

Vega (वेग) is a project scaffolding tool to speed up development process.
Apache License 2.0
9 stars 7 forks source link
devops docker go golang scaffold scaffolding starterkits

Vega (वेग)

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

Release Go Report Card

Installation

Several options to install:

Requirements


Getting Started

The above commands are mostly used commands, please refer commands table for further details.

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 drupal9-php-fpm-apache
react
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:


Development


Release


Secrets

vega has been integrated with git-secrets which adds following hooks to your repositories when vega hooks install is executed.

  1. pre-commit: Used to check if any of the files changed in the commit use prohibited patterns.
  2. commit-msg: Used to determine if a commit message contains a prohibited patterns.
  3. prepare-commit-msg: Used to determine if a merge commit will introduce a history that contains a prohibited pattern at any point. Please note that this hook is only invoked for non fast-forward merges.

vega hooks install overrides any current git hooks if you have added any. In case you would like to have multiple hooks please refer: https://gist.github.com/carlos-jenkins/89da9dcf9e0d528ac978311938aade43


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.