A gobuffalo plugin for working with Azure.
Перейти к файлу
Martin Strobel 82bd0ce47e Adding mentions of features to the README. 2018-06-04 09:01:48 -07:00
cmd Fetching Template locally before deployment. 2018-05-31 14:47:21 -07:00
generators/eventgrid Mutate app file (#25) 2018-05-11 10:49:04 -07:00
sdk/eventgrid Adding Registration helper. (#20) 2018-05-04 11:52:08 -07:00
.gitignore Adding `golint` to CI script. (#13) 2018-04-30 15:11:19 -07:00
.travis.yml Adding Template Based Event Grid Subscriber generation (#22) 2018-05-08 15:55:49 -07:00
Gopkg.lock Implementing Tenant Inference 2018-05-31 14:47:21 -07:00
Gopkg.toml Adding `golint` to CI script. (#13) 2018-04-30 15:11:19 -07:00
LICENSE Empty cobra app. 2018-04-16 10:19:52 -07:00
README.md Adding mentions of features to the README. 2018-06-04 09:01:48 -07:00
main.go Adding command skeleton. 2018-04-16 15:28:44 -07:00

README.md

Buffalo-Azure

GoDoc Build Status

By extending gobuffalo, we seek to empower rapid web developers to deploy to Azure easily, and even generate code that will integrate well with Azure services.

provision

buffalo azure provision [flags]

It's fun to tinker with a website locally, but at some point you've got to get it hosted. Use the provision command to create the necessary infrastructure and services to run your website on Microsoft's Cloud. All you need is to use the Dockerfile already generated by Buffalo to create an image that will be run in an Azure Web App for Containers.

eventgrid

buffalo generate eventgrid [flags]

Azure Event Grid is an HTTP based messaging solution, that seeks to empower you while writing event-driven reactive web applications. Many Azure Services are already wired up to start informing you when their events happen using Event Grid.

Implementing this eventgrid command seeks to

Installation

This is an extension, so before you install Buffalo-Azure, make sure you've already installed Buffalo.

Build from Source

option 1 - go get

The easiest, albeit least stable, way to get started is to use go get.

go get -u github.com/Azure/buffalo-azure
option 2 - git clone

dep is a pre-requisite for these installation instructions.

Building yourself isn't too arduous, and enables a reproducible build stamped with the git revision you're using.

mkdir -p $GOPATH/src/github.com/Azure/buffalo-azure
cd $GOPATH/src/github.com/Azure/buffalo-azure
git clone https://github.com/Azure/buffalo-azure.git .
dep ensure
go install -ldflags "-X github.com/Azure/buffalo-azure/cmd.version=$(git rev-parse HEAD)"

Binary Distribution

This isn't supported yet, but if you'd like to see it, go get it moved up our backlog by thumbs-uping or commenting on Azure/buffalo-azure#37.

Disclaimer

This is an experiment by the Azure Developer Experience team to expand our usefulness to Go developers beyond generating SDKs. This is not officially supported by the Azure DevEx team, Azure, or Microsoft.

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. s 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.