Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Next »

Purpose

To demonstrate how to generate a Cubbles project using the generator-cubbles.

Prerequisites

  • Nodejs version 4.x is installed.
  • Grunt runs from every folder. To do that, start a bash or shell and type the following command: 

    > npm install -g yo grunt-cli


  • The generator-cubbles is installed. You can install it as any other npm module:

    > npm install -g generator-cubbles

Generate a Project

Within a Cubbles project you will have access to the Coder DevTools and thus you will be able to create and manage as many Webpackages as you want.

To generate a project, in the shell, navigate to the folder where want to store your project and run the following command:

> yo cubbles:project

In the bash you will get:

     _-----_
    |       |
    |--(o)--|    ╭──────────────────────────╮
   `---------´   │           Done           │
    ( _´U`_ )    ╰──────────────────────────╯
    /___A___\   /
     |  ~  |
   __'.___.'__
 ´   `  |° ´ Y `

Note: Within the 'devtools' folder, type 'grunt' to get a list of the most important tasks.

Now I'm running grunt the first time:

Then, you should type the project name, e.g.  my-first-project. 

This process creates the overall file and folder structure inside to use the DevTools a follows:

The project includes a suite of developer-tools. This requires the download of a number of npm packages ... which takes some time (wink).
  • No labels