bradp / vv

:globe_with_meridians: Variable VVV - a VVV Site Creation Wizard.‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ :x: This project is no longer maintained. Please update your copy of VVV , which has most of the vv features built in.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Install for non-mac users

fxbenard opened this issue · comments

A package is needed for Linux and Windows users

Right now, Linux and Windows users should be able to grab it without brew and execute it, although I haven't done any testing in Windows.

I should look into adding it to apt-get install vv and all that fun stuff.

thanks for the infos

@grappler did you tried it on windows?
I have errors and no way to add the right path. The script shuts down.

@fxbenard Try running it with the --force-path flag. It may be getting caught up on the automated checks for common VVV directory locations, which aren't valid Windows paths. --force-path will bypass that.

I'll try testing on my Windows box later this week, and try to get some fixes in place.

Are you running it through Cygwin or anything like that, or just in the command prompt?

--force-path doesn't change anything - I still have to give the path
I'm using the command prompt but with the git\bin and cygwin\bin added to my windows path so all exe are available ;)
Thanks for your support

And after you give the path, the script dies out?

Yes

  • If the path is wrong: wrong path ask for it again
  • If good path: hangout and back to my cmd.exe

Same with cygwin

Do all commands fail?

If you do either --about or --version, do either of those succeed?

Ahh - I think it might have to do with writing to ~/.vv-config, as that location doesn't exist on Windows.

Could you grab vv from here: https://github.com/bradp/vv/tree/dev-windows and let me know if this fixes your issue?

I haven't had a chance to test it on Windows, but I'm thinking it should fix it.

Ok I tried it same issue
My path is D:\D-projects\VVV for VVV Root

I tried D:\D-projects\VVV
wrong path

/cygdrive/d/D-Projects/VVV
wrong path

d:/D-Projects/VVV
Hangout

Thanks for testing that. I'll try to get this fixed up this week for you.

Brad Parbs

On Dec 16, 2014, at 9:18 AM, Fx Bénard notifications@github.com wrote:

Ok I tried it same issue
My path is D:\D-projects\VVV for VVV Root

I tried D:\D-projects\VVV
wrong path

/cygdrive/d/D-Projects/VVV
wrong path

d:/D-Projects/VVV
Hangout


Reply to this email directly or view it on GitHub.

Thanks for your concern. I'm sure all windows's users will be thankfull for this.
Poke me when you'll need some testing ;) i'll be happy to help you out

FX

Count me in to for testing :) 👍

@bradp Did you got time for some more testing... my windows is starving, ;)

FX

I had same problem... Haven't fixed it yet, but did look at a few things....
Installing git with command line option is a thought...
Also is this a fresh install or did you have ./vvv before?

Fresh install

Ugg and you are sure you install git with command line only?

Bradp must work for Mac lol ;)

Got my windows box re-setup last weekend, so I'll do some testing and tweaking this weekend and see what I can do to get a Windows version working.

Thanks for your concern!

Good news, somewhat.

Got vv to create a new site on my local. I'm running git bash, and cloned VV to a folder and executed "vv create" there, and got it to create a site successfully. "vv list" fails, and I haven't had a chance to check every command yet, I'm thinking the issue is with some commands I'm using.

I've push a few commits to master just now that will throw less errors on windows now, and I'm hoping to make a bit more progress on getting all the commands running.

@fxbenard @jaystonez If you could try cloning VV to a folder and executing "vv" from there and letting me know if it works somewhat, that would be great.

commented

No joy for me on Windows either. From Console2 (a moderately better console for windows) I cloned the vv folder. I added this folder to the System Paths. Then I navigated to that folder and ran vv create but get "vv is not recognized as a internal or external command".

For Win you need to use "bash like" shell. For example cygwin or msys. For more info see the refrence.

I have vv working on 2 Windows installations (Native and Parallels). Here is the process I used to install and run.

Clone vv repo to a designated folder. git clone https://github.com/bradp/vv.git vv

Add that folder to your system path. (I had to do this manually)

  • Open an explorer window and go to Computer (or This PC).
  • Right click and choose properties
  • Choose Advanced System Settings
  • Choose Environmental Variables form the Advanced Tab
  • Choose the "Path" variable and edit it.
  • Add a semicolon to end the previous path item and then add the vv folder path (Example: ;C:\Users\Name\Documents\vv)

Open Git Bash and run vv

Alternately, run vv in cmd.exe using bash vv

Hope this helps.

@alexVauch No need for a cygwin or what so ever if you're using Git an added it to your path. All the tools are in the bin/

@bradp bash vv running - get stock when vv asked me for the VVV folder destination.

I just tried following @Vinsanity his steps and everything works good so far. Maybe we can write an installer exe that takes care of all this. Not sure if it's possible or how you'd go about that. I'll have a read into it.

commented

Can confirm that VV runs in windows 7x64 from git bash. Thanks @Vinsanity for the instructions.

edit: it runs without errors, but the site doesn't appear to be configured in apache and there is no database.

Going to mark this as closed, added the instructions to the README as well.

Thanks everyone!

Maybe this helps someone else.
On Windows 10, even with vv folder added to system path, when typing in Git Bash

vv
I get "The term 'vv' is not recognized as the name of a cmdlet, function, script file, or operable program"

bash vv
I get "vv is a directory"

bash vv/vv
That finally works!

Similarly, all vv available commands must use bash vv/vv in order to work.

I'm having the same issue as @fxbenard. Any ideas?