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

Implement installation of templates with local filepath #5

Closed
etolstoy opened this issue Nov 4, 2015 · 1 comment
Closed

Implement installation of templates with local filepath #5

etolstoy opened this issue Nov 4, 2015 · 1 comment

Comments

@etolstoy
Copy link
Member

etolstoy commented Nov 4, 2015

The user should be able install templates from the local folders. It will look like generamba template install 'MyTemplate' --local ~/Templates/MyTemplate.

After this command Generamba should look for the .gemspec file in the corresponding folder, validate it, modify the Rambafile and move this template to the project folder.

@etolstoy etolstoy added this to the version 0.6 milestone Nov 4, 2015
@etolstoy
Copy link
Member Author

etolstoy commented Nov 5, 2015

After a brief discussion with the team we've decided to move in another direction - specify all the templates in Rambafile and then run generamba template install. The structure would be like this:

project_templates:
- {name: rambler_viper_controller, path: ~/templates/rambler_viper_controller, version: 0.1}
- {name: rambler_viper_view, git: https://github.com/igrekde/rambler_viper_view}
- {name: app_delegate_thinning, version: 1.0}

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

No branches or pull requests

1 participant