Giter VIP home page Giter VIP logo

Comments (7)

cristianoliveira avatar cristianoliveira commented on July 16, 2024 2

We just uploaded a new version v.0.2.4 please updated it if you would like to have the helping to Env vars :)

from ergo.

cristianoliveira avatar cristianoliveira commented on July 16, 2024

Add explanation about configuring http_proxy in order to use ergo as a proxy for the terminal requests.

export http_proxy="http://localhost:2000"

Reference to #98

from ergo.

cristianoliveira avatar cristianoliveira commented on July 16, 2024

Added explanations on 950f5d0

from ergo.

EdByrnee avatar EdByrnee commented on July 16, 2024

Hi, running on .dev doesn't work in chrome as you probably know,

The documentation says to configure the domain by running
ergo -h

this prints
Usage of ergo: -h Shows ergo's help. -v Shows ergo's version.

ergo -h gives

`Usage:
ergo run [options]
ergo list
ergo list-names
ergo url
ergo setup [options] [linux-gnome|osx|windows] [-remove]
ergo add [options] host:port

Options:
-h Shows this message.
-v Shows ergo's version.
-config Set the config file to the proxy.

run:
-p Set ports to proxy.
-V Set verbosity on output.

setup:
-remove Set remove proxy configurations.`

Not sure if I'm missing something but I can't see any explanation on how to configure the domain ergo listens on?

from ergo.

cristianoliveira avatar cristianoliveira commented on July 16, 2024

Hey @EdByrnee you probably are running an ergo's old version. :)

Here what looks like the help on the latest one:

▶ ergo -v
v0.2.2-9-g4bcd98a
----

▶ ergo -h

Ergo proxy.
The management apps running on different ports made easy through custom local domains.

Usage:
  ergo run [options]
  ergo list [options]
  ergo list-names [options]
  ergo url <name> [options]
  ergo setup [linux-gnome|osx|windows] [-remove] [options]
  ergo add <service-name> <host:port> [options]
  ergo remove <service-name|host:port> [options]

Options:
  -h      Shows this message.
  -v      Shows ergo's version.
  -config     Set the config file to the proxy. (ERGO_CONFIG_FILE)
  -domain     Set a custom domain for services. (ERGO_DOMAIN)
  -timeout    Set a custom timeout for responses. (ERGO_TIMEOUT_IN_SECONDS)
  -p          Set ports to proxy. (ERGO_PORT)
  -V          Set verbosity on output. (ERGO_VERBOSE)

  ** Use the names inside the parentesis to configure it via environment variables.

setup:
  -remove     Set remove proxy configurations.

from ergo.

cristianoliveira avatar cristianoliveira commented on July 16, 2024

I'll reopen the issue cause I think it needs a better explanation about how to use env var and configure the domains on README :)

from ergo.

cristianoliveira avatar cristianoliveira commented on July 16, 2024

You were right. The version 0.2.2 has no help for Env vars. I'll release a new version containing it :)

from ergo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.