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

Install npm and Sage packages? #124

Closed
mAAdhaTTah opened this issue Jan 19, 2015 · 7 comments
Closed

Install npm and Sage packages? #124

mAAdhaTTah opened this issue Jan 19, 2015 · 7 comments

Comments

@mAAdhaTTah
Copy link
Contributor

In light of the conversation here: roots/sage#1257, does it make sense to make installing node, npm, bower, & gulp an optional install for deploying a sage theme?

@swalkinshaw
Copy link
Member

Bedrock and hence this playbook has nothing to do with Roots/Sage. I think the proper solution is for us to create another repo under the Roots org which would be a role to install what's necessary for deploying our theme.

@nathanielks
Copy link
Contributor

What if we had a create-your-own-adventure role, a role that's run specifically for whatever theme you're looking to use? We could create one for Roots/Sage as a demo. Two birds with one stone.

@austinpray
Copy link
Contributor

I agree with @swalkinshaw. Perhaps I can create a teeny tiny buildpack for Sage themes that gives you everything you need + a standard process to follow.

@nathanielks
Copy link
Contributor

Could also be a separate Ansible Galaxy module.

@swalkinshaw
Copy link
Member

Keep in mind that the only thing required for Sage is Node and maybe globally installing some packages. Everything else will be part of the deployment process which is already in progress at #95.

There's also the debate about doing the compiles locally and uploading assets which wouldn't make any of this necessary.

@mAAdhaTTah
Copy link
Contributor Author

I agree with @swalkinshaw. Perhaps I can create a teeny tiny buildpack for Sage themes that gives you everything you need + a standard process to follow.

Awesome. Really excited about 8.0.0!

There's also the debate about doing the compiles locally and uploading assets which wouldn't make any of this necessary.

How would you deploy if this was the methodology? Can Ansible copy it up?

@swalkinshaw
Copy link
Member

@mAAdhaTTah yeah exactly. Ansible can run tasks locally or do local actions and then copy/upload the files.

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

4 participants