1.0.2 • Published 10 years ago
generator-bluemix-sample v1.0.2
Bluemix Sample App Generator
Yeoman generator for Bluemix sample application - lets you quickly set up a Cloud Foundry sample app with proper formatting and necessary files.
Usage
Install the Yeoman scaffolding tool yo:
npm install -g yoInstall the generator-bluemix-sample generator:
npm install -g generator-bluemix-sampleMake a new director and cd into it:
mkdir my-new-project && cd $_Run yo bluemix sample to initiate the generator:
yo bluemix-sampleInputs
The generator will ask you for several inputs while creating the scaffolding of your project. They are as follows:
- App Name - The name you want to give your Bluemix app.
- Host Name - The subdomain where your app can be reached. This value must be unique to the
mybluemix.netdomain. - Memory - The amount of memory to be allocated for a single instance of your app.
- Runtime - Essentially, the language of your app.
- License - The IBM supported licenses for open-sourcing your sample app.
- Type - Each Bluemix sample app should fall into one of the four following types: Hello World Sample App Demo Reference Architecture App