Skip to content
This repository was archived by the owner on Jul 27, 2024. It is now read-only.
This repository was archived by the owner on Jul 27, 2024. It is now read-only.

Add option to configure PROXY for the system #23

Description

@derneuere

If a system is behind a proxy, then the "npm install" commands does not honour the proxy global proxy settings on the machine, so it can't reach the https://registry.npmjs.org. I suggest that the proxy be set as optional variables at the top of install-librephotos.sh and then used in commands something like below just before the 'npm install' commands if PROXY is not blank.

npm config set proxy http://$PROXY:$PROXY_PORT
npm config set https-proxy http://$PROXY:$PROXY_PORT

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions