An open API service indexing awesome lists of open source software.

https://github.com/kaz29/serverless-azure-php-example

Serverless Azure PHP Example
https://github.com/kaz29/serverless-azure-php-example

azure azure-functions php serverless serverless-framework

Last synced: about 2 months ago
JSON representation

Serverless Azure PHP Example

Awesome Lists containing this project

README

          

# Serverless Azure PHP Example

このサンプルは、[PHP向けパッチ版 serverless-azure-functions](https://github.com/kaz29/serverless-azure-functions/) を使用して、PHP版の Azure Functionをdeployするサンプルです。

`PHP向けパッチ版 serverless-azure-functions`は、[serverless-azure-functions](https://github.com/serverless/serverless-azure-functions) 元に作成しました。

## Getting started

### 1. Get a Serverless Service and setup project

```bash
npm i -g serverless
npm install
```

### 2. Set up environment variables

```bash
# bash
export azureSubId=''
export azureServicePrincipalTenantId=''
export azureServicePrincipalClientId=''
export azureServicePrincipalPassword=''
```

### 3. Deploy

```bash
sls deploy
```