Vega (वेग) is developer friendly project scaffolding tool to speed up development process.
Several options to install:
curl -fsSL https://raw.githubusercontent.com/srijanone/vega/develop/scripts/install.sh | bash
brew install srijanone/vega/vega
brew update && brew upgrade vega
go install github.com/srijanone/vega
vega
: vega usage
vega init
: Initializes vega
vega starterkit list
: List all available starterkits
vega create my-drupal-app --starterkit drupal8-php-fpm-apache
: Bootload a new app using starterkit
vega up
: Get your docker containers up & running.
vega down
: Stop all docker containers.
The above commands are mostly used commands, please refer commands table for further details.
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 |
--home
flag which will override default $VEGA_HOME--repo
flag can take git url or local folder url
vega repo add globe git@github.com:vs4vijay/vega-starterkits.git
vega repo add new /Users/viz/SrijanX/custom
go run main.go
goreleaser
export GITHUB_TOKEN=<token>
make release-dry-run
# to test and verify on local machinemake release-using-gorelease
goreleaser
git tag origin v1.0.x
git push origin v1.0.x
vega has been integrated with git-secrets which adds following hooks to your repositories when vega hooks install
is executed.
pre-commit
: Used to check if any of the files changed in the commit
use prohibited patterns.commit-msg
: Used to determine if a commit message contains a
prohibited patterns.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
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.