Skip to content

kaz29/serverless-azure-php-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Serverless Azure PHP Example

このサンプルは、PHP向けパッチ版 serverless-azure-functions を使用して、PHP版の Azure Functionをdeployするサンプルです。

PHP向けパッチ版 serverless-azure-functionsは、serverless-azure-functions 元に作成しました。

Getting started

1. Get a Serverless Service and setup project

npm i -g serverless
npm install

2. Set up environment variables

# bash
export azureSubId='<subscriptionId>'
export azureServicePrincipalTenantId='<tenantId>'
export azureServicePrincipalClientId='<servicePrincipalName>'
export azureServicePrincipalPassword='<password>'

3. Deploy

sls deploy