command
module
Version:
v1.0.2
Opens a new window with list of versions in this module.
Published: Jul 6, 2020
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Vega (वेग)
Vega (वेग) is developer friendly project scaffolding tool to speed up development process.
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 init
: Initializes vega
vega starterkit list
: List all available starterkits
vega create awesome-app --starterkit nodejs+redis
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 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:
vega repo add globe git@github.com:vs4vijay/vega-starterkits.git
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
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
|
|
pkg
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Click to show internal directories.
Click to hide internal directories.