-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vega down & destroy #134
vega down & destroy #134
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1 suggestion, rest looks okay to me.
Also @WSMathias Please update the README as well as per new changes and commands
cmd/up.go
Outdated
tilt "github.com/srijanone/vega/pkg/tilt" | ||
) | ||
|
||
var watch, noBrowser bool | ||
var port string | ||
|
||
func isDrupal() bool { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe put this method in some Detector
package
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sure, I will add Detector package.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@WSMathias please make relevant changes in destroy.go
New command:
vega destroy
docker-compose down --volumes
Updated command:
vega down
tilt down
+docker image rm -f $(docker image ls -q --filter "label=builtby=tilt")
vega up
tilt up
+docker-compose run --rm cli
(only drupal projects)