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
- Host: GitHub
- URL: https://github.com/kaz29/serverless-azure-php-example
- Owner: kaz29
- Created: 2017-07-17T07:13:04.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-07-17T08:25:49.000Z (over 8 years ago)
- Last Synced: 2024-11-20T03:31:52.689Z (over 1 year ago)
- Topics: azure, azure-functions, php, serverless, serverless-framework
- Language: PHP
- Homepage:
- Size: 8.79 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```