这是indexloc提供的服务,不要输入任何密码
Skip to content
This repository was archived by the owner on Mar 5, 2021. It is now read-only.

bradcypert/ignite

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ignite

JSON based scaffolding system


NPM version Downloads

Join the chat at https://gitter.im/bradcypert/ignite

###Installation npm install -g bc-ignite

###Igniting your Project ignite scaffold {template-name}

###Listing Install Templates ignite list

###Describing templates ignite describe {template-name}

###Advanced usage can be found below

###Current Templates #####angular - Minimal baseline, leaving developer to decide folder structure based on type (i.e, Controllers, Directives, Services) or component (e.g., Home, Search, Admin) #####express - A seed structure for building robust express apps #####marionette - A folder structure for use with Marionette and Backbone.js, creates scripts directory. #####meteor - Standardized Meteor Application Template #####react - A Flux-Based template for building React Applications

###Want to Contribute a Template? Just fork the repo, add one, and submit a pull request.

Why do that instead of generators? Because with generator based solutions like Yeoman and Slush, everyone and their grandma has created generators. The plan for Ignite is to have community standardized templates so there's not 50 different angular scaffolds to choose from.

###Vision. The plan for Ignite is simple. I want a solution that doesn't scaffold a project for you, but instead scaffolds the structure of a project. Why? Because you'll be able to do things like this...

ignite scaffold rails
cd public
ignite scaffold angular

instead of...

ignite scaffold rails-angular

This allows you to scaffold only the pieces you need and hopefully will give you a solution more specific to your actual needs, instead of installing all the junk someone else thought they needed when they created the generator.

##Advanced Usage ###Using custom templates Ignite can be used with user-created templates as well. All you have to do is specify a folder on your file system and use the -d flag when calling the command.

Simply create the template in a directory

touch /path/to/my/templates/rails.json

Create the JSON appropriately, and then run

ignite scaffold rails -d /path/to/my/templates/

You can also create a environment variable

export IGNITE_DIR=/path/to/my/templates/

About

A fiery JSON-based scaffolding tool for Node.js

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •