I wrote this guide after having trouble getting Helpful to work on my computer. If you're a beginner to this and want to help build, this guide is for you!
To run Helpful on Windows you'll need to download and install three programs on your computer. Make sure to have administrator privileges. I believe that your computer should also be 64-bit, not 32-bit. Here's a guide on how to find out.
###Git You need Git to be able to clone the Helpful repository on GitHub. On the installer, make sure to select the option that allows you to use Git in the Windows Command Prompt.
###VirtualBox Vagrant needs VirtualBox to create its virtual environment. You might not be able to run VirtualBox if your processor doesn't support virtualization. If you think it does, and later on it doesn't work, your computer BIOS might have disabled the feature. Check out the Troubleshooting section below.
###Vagrant You need Vagrant to be able to create the development environment.
Once you've got all that done, restart your computer!
###Clone the Helpful repo Start the Command Prompt. Type the following in and press enter
git clone https://github.com/asm-helpful/helpful-web.git helpful-web
You should see something like this:
Cloning into 'helpful-web'...
remote: Reusing existing pack: 9258, done.
remote: Counting objects: 212, done.
remote: Compressing objects: 100% (211/211), done.
remote: Total 9470 (delta 133), reused 0 (delta 0)
Receiving objects: 100% (9470/9470), 3.74 MiB | 730.00 KiB/s, done.
Resolving deltas: 100% (5787/5787), done.
Checking connectivity... done.
Next type in
cd helpful-web
This is a simple command. Ready? Enter in
vagrant up
Vagrant should now connect and begin to download the box needed to set things up. This will take a bit of time, but only needs to be downloaded once. If you're getting an error message, I've put some troubleshooting stuff below.
When you're done, you have a virtual machine box open, and you should be able to access http://localhost:5000
If Vagrant says that it can't find the VBoxManage
binary, you will need to set up the path for VirtualBox. Go to Control Panel and find the "System Environment Variables" setting. Then add
c:\Program Files\Oracle\VirtualBox
to your PATH variable. Make sure to add a semicolon if there are other files listed there already. There's a good guide on how to set it here.
If VirtualBox isn't starting up the virtual machine, you might need to edit the BIOS. Entering BIOS is different for each computer manufacturer, so you will need to search that up. After you're able to get into BIOS, the setting to enable 'Virtualization Technology' should be under the 'Security' tab.
If you're getting a timeout error, where your computer is unable to connect to the virtual machine, I haven't been able to find a solution to that yet :(