Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
justinyoo committed Jul 19, 2020
1 parent f540900 commit 944cb51
Show file tree
Hide file tree
Showing 6 changed files with 68 additions and 48 deletions.
14 changes: 5 additions & 9 deletions samples/Aliencube.AzureFunctions.FunctionAppV1IoC/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,20 @@

## Getting Started ##

### Install Open API Templates ###
### Restore NuGet Packages ###

Run the following script to install the Open API templates:
Run the following command to restore all necessary NuGet packages into the project.

```powershell
# PowerShell
../../scripts/Install-OpenApiHttpTriggerTemplates.ps1 `
-ProjectPath ./ `
-Namespace Aliencube.AzureFunctions.FunctionAppV1IoC `
-IsVersion1
```bash
dotnet restore .
```


### Run Function App ###

Run the Function app locally.

```powershell
```bash
func start
```

Expand Down
14 changes: 5 additions & 9 deletions samples/Aliencube.AzureFunctions.FunctionAppV1Static/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,20 @@

## Getting Started ##

### Install Open API Templates ###
### Restore NuGet Packages ###

Run the following script to install the Open API templates:
Run the following command to restore all necessary NuGet packages into the project.

```powershell
# PowerShell
../../scripts/Install-OpenApiHttpTriggerTemplates.ps1 `
-ProjectPath ./ `
-Namespace Aliencube.AzureFunctions.FunctionAppV1Static `
-IsVersion1
```bash
dotnet restore .
```


### Run Function App ###

Run the Function app locally.

```powershell
```bash
func start
```

Expand Down
26 changes: 26 additions & 0 deletions samples/Aliencube.AzureFunctions.FunctionAppV2IoC/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Aliencube.AzureFunctions.FunctionAppV2IoC #

## Getting Started ##

### Restore NuGet Packages ###

Run the following command to restore all necessary NuGet packages into the project.

```bash
dotnet restore .
```


### Run Function App ###

Run the Function app locally.

```bash
func start
```

Open a web browser and visit the page.

```txt
http://localhost:7071/api/swagger/ui
```
26 changes: 26 additions & 0 deletions samples/Aliencube.AzureFunctions.FunctionAppV2Static/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Aliencube.AzureFunctions.FunctionAppV2Static #

## Getting Started ##

### Restore NuGet Packages ###

Run the following command to restore all necessary NuGet packages into the project.

```bash
dotnet restore .
```


### Run Function App ###

Run the Function app locally.

```bash
func start
```

Open a web browser and visit the page.

```txt
http://localhost:7071/api/swagger/ui
```
18 changes: 3 additions & 15 deletions samples/Aliencube.AzureFunctions.FunctionAppV3IoC/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,14 @@

## Getting Started ##

### Install Open API Templates ###
### Restore NuGet Packages ###

Run the following script to install the Open API templates:

```powershell
# PowerShell
../../scripts/Install-OpenApiHttpTriggerTemplates.ps1 `
-ProjectPath ./ `
-Namespace Install.AzureFunctions.FunctionAppV3IoC
```
Run the following command to restore all necessary NuGet packages into the project.

```bash
# Bash script
../../scripts/Download-OpenApiHttpTriggerTemplates.sh \
. \
Aliencube.AzureFunctions.FunctionAppV3IoC
dotnet restore .
```

> You may need to run `chmod +x ../../scripts/Download-OpenApiHttpTriggerTemplates.sh` command.

### Run Function App ###

Expand Down
18 changes: 3 additions & 15 deletions samples/Aliencube.AzureFunctions.FunctionAppV3Static/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,14 @@

## Getting Started ##

### Install Open API Templates ###
### Restore NuGet Packages ###

Run the following script to install the Open API templates:

```powershell
# PowerShell
../../scripts/Install-OpenApiHttpTriggerTemplates.ps1 `
-ProjectPath ./ `
-Namespace Aliencube.AzureFunctions.FunctionAppV3Static
```
Run the following command to restore all necessary NuGet packages into the project.

```bash
# Bash script
../../scripts/Install-OpenApiHttpTriggerTemplates.sh \
. \
Aliencube.AzureFunctions.FunctionAppV3Static
dotnet restore .
```

> You may need to run `chmod +x ../../scripts/Download-OpenApiHttpTriggerTemplates.sh` command.

### Run Function App ###

Expand Down

0 comments on commit 944cb51

Please sign in to comment.