The Bandwidth Incubator team needed a way to reduce time spent setting up projects. To do this we decided to use Yeoman. It is recommended to read their documentation before using this tool, to be familiar with it.
This generator will set up a project with all the configuration necessary to work out of the box with the BW Incubator build pipeline.
sudo npm install -g generator-incubator
mkdir ~/Projects/project-name
cd ~/Projects/project-name
yo incubator
The incubator generator makes use of sub-generators for different project capabilities.
The main generator will invoke the default sub-generators, but you can always run
just a specific sub-generator in a directory. For example, you might only want to have
a .travis.yml file created, but nothing else. A sub-generator like this could be invoked
with the following command: yo incubator:travis
MIT