Skip to content

Latest commit

 

History

History
54 lines (38 loc) · 817 Bytes

development.md

File metadata and controls

54 lines (38 loc) · 817 Bytes

Developing Forage

Build from source on mac:

git clone https://github.com/foragepm/forage.git
cd forage
npm ci

To configure npm to use forage as a proxy:

npm run config

# or manually set the following in your .npmrc
npm config set proxy http://0.0.0.0:8005/
npm config set https-proxy http://0.0.0.0:8005/
npm config set registry http://registry.npmjs.org/
npm config set strict-ssl false

# restore the defaults with
npm run unconfig

To configure go modules to use forage as a proxy, set the following env var in your shell:

GOPROXY=http://localhost:8005

Start the electon app:

npm start

or compile the electron app into ./dist:

npm run pack

and link the command line interface:

npm link

Run the tests:

npm test