Skip to content

Commit

Permalink
Updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
merken committed Sep 10, 2020
1 parent 98498b5 commit 4d76216
Showing 1 changed file with 35 additions and 1 deletion.
36 changes: 35 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,35 @@
# local-azure-functions
# Run a Azure Functions locally inside a Docker container using Docker Compose!

## Prerequisites
- Docker
- Docker Compose
- [Azure Storage Explorer](https://docs.microsoft.com/en-us/azure/vs-azure-tools-storage-manage-with-storage-explorer)

## Getting started
1. Clone this Repo
2. Build the containers
```
sudo docker-compose build
```
3. Run all the containers
```
sudo docker-compose up
```
4. Create the Azure Storage artifacts
Run Azure Storage Explorer and create the following Blob Containers:
- input-container
- output-container

Create the following queue:
- queue
5. Stop the Containers
```
sudo docker-compose stop
```
6. Run all containers again (required for the Function to hook into the newly create blob containers and queue)
```
sudo docker-compose up
```
7. Try out the HTTP calls from the *http* directory using the [VS Code REST Client extension](https://marketplace.visualstudio.com/items?itemName=humao.rest-client)
8. Add a new message to the *queue*
9. Add a new file to the *input-container* and see the copy inside of the *output-container*

0 comments on commit 4d76216

Please sign in to comment.