Giter VIP home page Giter VIP logo

mackerel-natureremo's Introduction

環境

  • Node.js 10.x
  • Azure Functions Core Tools 3.x

ローカルからのデプロイの仕方

  1. local.settings.json を設定する
    • VS Code の Functions 拡張で既存の関数の設定をダウンロードすると簡単
  2. VS Code の "Deploy to Function app..." を使ってデプロイ

構成サンプル

以下を設定する。

  • Nature Remo の API キー
  • Mackerel の API キー
  • Event Hubs の API キー
{
  "IsEncrypted": false,
  "Values": {
    "APPINSIGHTS_INSTRUMENTATIONKEY": "959e5bc4-842e-4d7f-8ce6-xxxxxxxxx",
    "APPLICATIONINSIGHTS_CONNECTION_STRING": "InstrumentationKey=959e5bc4-842e-4d7f-8ce6-xxxxxxxx;IngestionEndpoint=https://southeastasia-0.in.applicationinsights.azure.com/",
    "AzureWebJobsStorage": "DefaultEndpointsProtocol=https;AccountName=xxxxxxxxx;AccountKey=ZXO9f5khOUTUK6aXDYf/KASSCXIJ9DwPAFBAN/KBqkHQHbM21WXcsa75Ve5UV7JJfV7d3nMnxxxxxxxxxxxxxx==;EndpointSuffix=core.windows.net",
    "FUNCTIONS_EXTENSION_VERSION": "~3",
    "FUNCTIONS_WORKER_RUNTIME": "node",
    "WEBSITE_RUN_FROM_PACKAGE": "1",
    "NatureRemoAPI_KEY": "7Fz5-o2iT6Z_fYUUFXL1nEBNtwb8YU4WGDM_Q7QYX_o.4jx8lqBKhEJ4h8TRNybm66Yrgxxxxxxxxxxxxxxxxxx",
    "MackerelAPI_KEY": "4153E1rXoX2fRgwxqLvmxbepYrwxxxxxxxxxxxxxxxxxxxx",
    "Mackerel_ServiceName": "nomupro",
    "EventHubConnectionString" : "Endpoint=sb://eventhub.servicebus.windows.net/;SharedAccessKeyName=sak;SharedAccessKey=NNIhP6vH86IMD5+X5llvj9ROeGWs/+GTA1xxxxxxxxx=;EntityPath=natureremo"
  }
}

mackerel-natureremo's People

Contributors

tsubasaxzzz avatar dependabot[bot] avatar

Watchers

James Cloos avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.