0.1.0 • Published 5 years ago

filejet-local-proxy v0.1.0

Weekly downloads
4
License
MIT
Repository
-
Last release
5 years ago

FileJet Local Proxy

FileJet Local Proxy (fjlp) is command line tool which helps developers to easily implement FileJet external image functionality by providing the interface for creating proxy which allows FileJet service to access local files via the Internet.

Installation

Globally:

yarn global add filejet-local-proxy

or within the project

yarn add filejet-local-proxy

Usage

fjlc --host 127.0.0.1 --port 5000 --subdomain unique-name --root ~/path/to/your/project/public/folder

Available arguments:

host (alias -h) - usually localhost; defaults to 127.0.0.1

port (alias -p) - port on which will run your local server; defaults to 5000

subdomain (alias -s) - subdomain for your public proxy - we use localtunnel.me service internally so you may want to chose something unique for your PC; if you won't provide this value random string is generated by the service which will be shown to you

root (alias -r) - path (relative or absolute) to the folder which will be mapped to the public URL - usually the public folder of your project