Skip to content
This repository has been archived by the owner on Jun 30, 2020. It is now read-only.

Install for non-mac users #33

Closed
fxbenard opened this issue Dec 16, 2014 · 30 comments
Closed

Install for non-mac users #33

fxbenard opened this issue Dec 16, 2014 · 30 comments
Assignees
Milestone

Comments

@fxbenard
Copy link

A package is needed for Linux and Windows users

@bradp bradp self-assigned this Dec 16, 2014
@bradp
Copy link
Owner

bradp commented Dec 16, 2014

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.

@fxbenard
Copy link
Author

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.

@bradp
Copy link
Owner

bradp commented Dec 16, 2014

@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?

@fxbenard
Copy link
Author

--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

@bradp
Copy link
Owner

bradp commented Dec 16, 2014

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

@fxbenard
Copy link
Author

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

@bradp
Copy link
Owner

bradp commented Dec 16, 2014

Do all commands fail?

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

@bradp
Copy link
Owner

bradp commented Dec 16, 2014

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

@bradp
Copy link
Owner

bradp commented Dec 16, 2014

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.

@fxbenard
Copy link
Author

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

@bradp
Copy link
Owner

bradp commented Dec 16, 2014

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.

@fxbenard
Copy link
Author

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

@jonocosa
Copy link

Count me in to for testing :) 👍

@fxbenard
Copy link
Author

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

FX

@jaystonez
Copy link

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?

@fxbenard
Copy link
Author

Fresh install

@jaystonez
Copy link

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

@jaystonez
Copy link

Bradp must work for Mac lol ;)

@bradp
Copy link
Owner

bradp commented Jan 16, 2015

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.

@fxbenard
Copy link
Author

Thanks for your concern!

@bradp
Copy link
Owner

bradp commented Jan 20, 2015

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.

@helgatheviking
Copy link

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".

@bradp bradp added this to the 1.5.2 milestone Jan 28, 2015
@alexVauch
Copy link

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

@Vinsanity
Copy link

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.

@fxbenard
Copy link
Author

@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.

@Octopixell
Copy link

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.

byronyasgur added a commit to byronyasgur/vv that referenced this issue May 28, 2015
Added windows install instructions ( based on @Vinsanity's work - bradp#33
@helgatheviking
Copy link

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.

@bradp
Copy link
Owner

bradp commented Jul 9, 2015

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

Thanks everyone!

@geeac
Copy link

geeac commented Oct 11, 2015

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.

@IanDirkArmstrong
Copy link

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

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Projects
None yet
Development

No branches or pull requests

10 participants