Coder Social home page Coder Social logo

Comments (5)

philnash avatar philnash commented on May 23, 2024

Hey @jagoe,

Thanks for bringing this up. Interesting idea.

Can I ask why you would want to use more than one config, or a different config per project?

You can set different named tunnels within the single ngrok config file that define how a tunnel should behave. Would that not work for you, or do you have a completely different workflow in mind?

Cheers!

from ngrok-for-vscode.

jagoe avatar jagoe commented on May 23, 2024

Hey, thanks for the quick reply!

My reasoning is that this way several developers working on the same code base can get started with demoing, reviews or testing more quickly by just installing ngrok and the extension and having no to little configuration by just sharing the same config file in the code base.
I guess the same goal can be achieved using make, npm or similar tools, so the added convenience is admittedly not that big.

from ngrok-for-vscode.

philnash avatar philnash commented on May 23, 2024

Good news to start with here. Installing the extension actually installs ngrok.

But I’m still unclear on how sharing config files will help. Firstly, the config file is the place to store your auth token, which shouldn’t be checked into source control. Secondly, if you use named sub domains then you may end up with tunnel clashes.

I genuinely see ngrok config as something personal to a developer, rather than set on a per project basis.

from ngrok-for-vscode.

jagoe avatar jagoe commented on May 23, 2024

Alright, I get that. I'm pretty new to ngrok (actually read about it the first time in your article), so I may have misunderstood how it's supposed to be used.
I'll still play around a bit and see if I can make my general idea work for the purposes I mentioned, just for fun :)

I'll go ahead and close the issue then.

from ngrok-for-vscode.

philnash avatar philnash commented on May 23, 2024

I'm pleased I could introduce you to ngrok! Hopefully both ngrok and this extension are useful to you.

Let me know if this idea still appeals to you after using the tools for a while.

from ngrok-for-vscode.

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.