From 1f1f54ac7d9ad39d2e3b14b91ae8b233e4b528b4 Mon Sep 17 00:00:00 2001 From: Cody Gramlich Date: Fri, 21 Sep 2018 10:40:52 -0600 Subject: [PATCH] Update setup_windows_build_environment.md --- contrib/setup_windows_build_environment.md | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) diff --git a/contrib/setup_windows_build_environment.md b/contrib/setup_windows_build_environment.md index 421f9c8..8ac8207 100644 --- a/contrib/setup_windows_build_environment.md +++ b/contrib/setup_windows_build_environment.md @@ -3,13 +3,13 @@ This guide is for those who want to set up the build environment on Windows Comm ## Setting up Go, NodeJs, and GOPATH -Download and install Go at [Go download page](https://golang.org/dl/). +Download and install Go for Windows at [Go download page](https://golang.org/dl/). -Download and install NodeJs at [NodeJs download page](https://nodejs.org/en/download/) +Download and install NodeJs for Windows at [NodeJs download page](https://nodejs.org/en/download/) Using Command Prompt or Powershell: -Create a go directory: +Create a go workspace: > mkdir go > cd go @@ -22,6 +22,8 @@ Create subdirectories bin and src within your go directory: > mkdir src +Add %GOPATH%/bin to your PATH. + ## Installing chocolatey and dep Download and install Chocolatey package manager at [Chocolatey download page](https://chocolatey.org/install). @@ -45,22 +47,14 @@ Navigate to GOPATH/src and run: ## Setting up dependencies - Navigate to browsh/webext and run: -> npm run get-gobindata - > npm install -## Building Browsh with Git Bash - +## Building browsh with Git Bash Using Git Bash, navigate to browsh/interfacer/contrib and run: - > ./build_browsh.sh -> ./xpi2bin.sh - -## Running Browsh - +## Running browsh Using three Command Prompts or Powershells: Navigate to GOPATH/browsh and run: