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

Question about templates folder #649

Closed
ArthurHlt opened this issue Mar 7, 2016 · 3 comments
Closed

Question about templates folder #649

ArthurHlt opened this issue Mar 7, 2016 · 3 comments

Comments

@ArthurHlt
Copy link

I was reading this from docs: https://eclipse-che.readme.io/docs/templates
But I have a question, if I git clone all projects from samples.json inside the directory project.template_location_dir before runnning che, did che will link these cloned project to all samples or I have to set .zip file ?

Context is that I want to download all project template locally before running che on a server without internet access.

@ghost
Copy link

ghost commented Mar 8, 2016

The json file is just a reference to git or zip sources. However, zip importer would only accept a URL to a remotely hosted zip archive.

What you can do though is add host.projects.root to conf and point it to a persistent location on your machine, git clone all examples there, and you will have these examples as projects in every workspace you create.

As to docs, the are not up to date, I'll fix that.

@ArthurHlt
Copy link
Author

Thank you for the tip, it's nice to have this

@ghost
Copy link

ghost commented Mar 9, 2016

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

No branches or pull requests

1 participant