Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support proxies #149

Open
jervi opened this issue Nov 16, 2016 · 4 comments
Open

Support proxies #149

jervi opened this issue Nov 16, 2016 · 4 comments
Labels

Comments

@jervi
Copy link

jervi commented Nov 16, 2016

The roc command doesn't support proxies, as far as I can tell. The http_proxy/https_proxy env variables are ignored.

@dlmr
Copy link
Member

dlmr commented Nov 16, 2016

I'm not sure what you are trying to do here unfortunately. Can you give me a scenarion/example where this is a problem?

@jervi
Copy link
Author

jervi commented Nov 16, 2016

$ roc init web-app-react
× Failed to fetch the list of official templates

RequestError: connect ETIMEDOUT 192.30.253.117:443

@dlmr
Copy link
Member

dlmr commented Nov 16, 2016

I see, yeah that would be great to support and something we want to add!

In the meantime you can go around this by manually downloading the template as a ZIP file and point to that during init.

  1. Download the template https://github.com/rocjs/roc-template-web-app-react/archive/next.zip
  2. Run roc init ../next.zip
    We have here placed the template in the directory above the one we want to init inside.

@dlmr dlmr added the feature label Nov 16, 2016
@jervi
Copy link
Author

jervi commented Nov 16, 2016

Nice, thanks 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants