Skip to content
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

Access drush outside VM #145

Open
supermoos opened this issue Feb 9, 2015 · 5 comments
Open

Access drush outside VM #145

supermoos opened this issue Feb 9, 2015 · 5 comments

Comments

@supermoos
Copy link

supermoos commented Feb 9, 2015

Is it possible to cd ~/kalabox/www/sitename and use the drush command directly without having to vagrant ssh into the VM?


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@pirog
Copy link
Contributor

pirog commented Feb 9, 2015

It is possible to do this but you need to install drush locally. this process differs a bit from OS to OS.

@supermoos
Copy link
Author

I already have drush installed, guess i need to get to the drush aliases somehow to get drush bootstrapped correctly? How is this possible?

@pirog
Copy link
Contributor

pirog commented Feb 9, 2015

You may have to manually create them since they will look different locally vs in the vm.

I also think that the mysql server inside the VM does not broadcast to the outside world which would make things problematic.

@supermoos
Copy link
Author

So it's basically not possible to use drush outside of the kalabox VM then?
Other than for say downloading a module or some other basic commands that do not need mysql? Cache clear is out of the question?

@pirog
Copy link
Contributor

pirog commented Feb 9, 2015

You would need to change the bind address in my.cnf to something like

bind-address        = 0.0.0.0

then you should be able to hit the db from the outside at 1.3.3.7:3360

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants