Skip to content

fvproxy 0.3.2

Install from the command line:
Learn more about npm packages
$ npm install @fanvue/fvproxy@0.3.2
Install via package.json:
"@fanvue/fvproxy": "0.3.2"

About this version

Fanvue Proxy

Install FVProxy globally

  • Install AWS CLI tools \

    • macos: brew install awscli
    • ubuntu: sudo apt install awscli
  • Setup AWS environment
    aws configure
    You will need your aws key and secret that you can get from here

  • Setup npm to fetch @fanvue packages

    • Create a GitHub token here with at least read:packages permissions. If you plan to publish then you should also add write:packages and delete:packages.

    • Replace the token in the following command and run it:

      npm config set @fanvue:registry https://npm.pkg.github.com
      npm config set //npm.pkg.github.com/:_authToken=[YOUR_GITHUB_TOKEN]
    • Alternatively, create/change file .npmrc in your home directory with this content:

      //npm.pkg.github.com/:_authToken=[YOUR_GITHUB_TOKEN]
      @fanvue:registry=https://npm.pkg.github.com
  • Install fvproxy
    npm -g i @fanvue/fvproxy

    • Note: you might get an error cmake: command not found. It can safely be ignored.
  • Create your first configuration
    fvproxy init

  • Start the proxy
    fvproxy start

FAQ

  • permssion denied

    ERROR listen EACCES: permission denied 0.0.0.0:80

    You need to run the proxy as root or run this once:

    sudo setcap CAP_NET_BIND_SERVICE=+eip `which node`
    
  • address already in use

    ERROR listen EADDRINUSE: address already in use :::80

    Make sure you have no other processes running

    sudo systemctl stop apache2
    
  • region is missing

    Error loading configuraion region from /.../.fvproxyrc.json is missing

    Run aws configure again and make sure you have set your default region

Details


Assets

  • fvproxy-0.3.2.tgz

Download activity

  • Total downloads 11
  • Last 30 days 0
  • Last week 0
  • Today 0