Yeoman generator

You can organize your Metal.js project in any way you want, but to start out we recommend using the Yeoman generator we've created, which prepares both the project structure as well as a basic development workflow for you.

To use it:

  1. Install NPM v3.0.0 or newer (if you don't have it yet)

  2. Install Yeoman and generator-metal:

    [sudo] npm i -g yo generator-metal

  3. Open the folder that you want to use on your terminal and type: yo metal

  4. Answer the generator prompts:

  5. Wait for the generator to finish fetching dependencies

After those steps you'll get a directory tree similar to this:

generator-metal will already include some npm scripts to help you build and test your code, as well as many gulp tasks via gulp-metal.

By the way, the boilerplate zip provided by the getting started guide was created using generator-metal.