Yeoman generator for scaffolding Azure Service Fabric Container projects
Перейти к файлу
microsoft-github-policy-service[bot] 05861d400e
Auto merge mandatory file pr
This pr is auto merged as it contains a mandatory file and is opened for more than 10 days.
2022-11-28 19:11:45 +00:00
.vscode Debug support (#4) 2018-05-24 13:14:40 +05:30
generators Fix generators to work new way of doing things (#10) 2021-08-19 15:55:27 +05:30
.gitignore Initial commit 2017-07-26 03:04:06 -07:00
LICENSE Initial commit 2017-07-26 15:45:33 +05:30
README.md Debug support (#4) 2018-05-24 13:14:40 +05:30
SECURITY.md Microsoft mandatory file 2022-08-29 14:03:04 +00:00
package.json Merge pull request #11 from ameyanator/master 2021-08-24 18:36:06 +05:30

README.md

generator-azuresfcontainer

Yeoman generator for Azure Service Fabric Container projects

Installation

First, install Yeoman and generator-azuresfcontainer using npm (we assume you have pre-installed npm and node.js).

npm install -g yo
npm install -g generator-azuresfcontainer

The commands might ask for root access. Please run them with sudo, if needed.

Then generate your new project:

yo azuresfcontainer

You can have a look at our documentation to understand how can you deploy the generated Service Fabric container application

Getting To Know Yeoman

  • Yeoman has a heart of gold.
  • Yeoman is a person with feelings and opinions, but is very easy to work with.
  • Yeoman can be too opinionated at times but is easily convinced not to be.
  • Feel free to learn more about Yeoman.

License

MIT Copyright (c) Microsoft Corporation. All rights reserved.

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.

When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

Steps to contribute

Once you have figured out all the legalities above, you can follow the steps below -

  • Create a fork of this repository
  • Git clone the forked repository to your development box
  • Make the changes
  • You can update your local Yeo using npm link (or sudo npm link as required) at the project root-level
  • Create a new project with yo azuresfcontainer (ensure it picks Yeo node-module bits from your local changes)
  • Validate that changes are working as expected and not breaking anything regressively - following the steps mentioned in the documentation by creating and deploying the generated project on a Service Fabric cluster
  • Raise a pull request and share with us

Debugging generator using vscode

  • Open the repository's root folder in VScode.
  • Run the command which yo and update the program's value in launch.json if it does not match with yours.
  • Press F5 to start debugging.