Update setup_windows_build_environment.md

This commit is contained in:
Cody Gramlich 2018-09-21 10:40:52 -06:00 committed by GitHub
parent e882459ca2
commit 1f1f54ac7d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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