18F / 18f-scaffolding

A scaffold/generator to standardize 18F project setup
Other
26 stars 14 forks source link

Generator for Federalist #78

Open eddietejeda opened 5 years ago

eddietejeda commented 5 years ago

Federalist is the most common way for 18F teams to create front-end interfaces. Setting up a environment requires cloning default templates and validating permission to push to Github.

adborden commented 5 years ago

I'm all for a generator, but it seems a little funny to me to be putting it in 18f-cli. Can you be more specific about what you're after? Is it component templates in Liquid or other templating language? Is it the pre-compiled uswds assets and javascript? Is it the uswds npm package? Is it the Jekyll bits?

IMHO, I'd love to see the a USWDS generator that scaffolds a package.json with some script commands that copy the USWDS assets around, which seems to be a universal use case even if you're not hosting on Federalist. However, even this use case changes a bit with 2.0 and uswds-gulp, although I'm not exactly sure how.

tbaxter-18f commented 5 years ago

I'm very much in favor or leveraging our scaffolding for a one-click Federalist install, preferably with USWDS installed.

I think we need to figure out if that means jekyl-based, gatsby-based or what. And I have to wonder how exactly this differs from #69

eddietejeda commented 5 years ago

@adborden A few things that could be provided:

1) Request access to Federalist within CLI 2) List available templates and import them as starter kits