habitat-sh / core-plans

Core Habitat Plan definitions
130 stars 252 forks source link

[scaffolding-node] Handle static sites #715

Open cnunciato opened 7 years ago

cnunciato commented 7 years ago

Node is a popular build tool for static/single-page websites as well (e.g., Angular, React, Ember and others). We should support using Node as a build-time dependency to package these kinds of apps and, ideally, lend them some sort of service-like behavior to allow them to be managed by the Habitat supervisor.

nellshamrell commented 7 years ago

Hi @cnunciato - I'm finally turning some attention back to this :) Could you provide a little more detail and, if possible, an example application? TY so much!

echohack commented 7 years ago

@nellshamrell Here's an example https://github.com/t889096/mint-dashboard

nellshamrell commented 7 years ago

Pending https://github.com/habitat-sh/core-plans/pull/1009

nellshamrell commented 6 years ago

The fantastic @smacfarlane created a working example of this - nicely annotated where he had to override scaffolding defaults https://github.com/smacfarlane/planet-static