Skip to content

Commit

Permalink
Merge pull request #4 from Azure-Samples/addingRequirements
Browse files Browse the repository at this point in the history
Adding requirements.txt files
  • Loading branch information
jmprieur authored Oct 23, 2019
2 parents a5535ed + d4e9198 commit 12118ab
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 2 deletions.
16 changes: 15 additions & 1 deletion 1-Call-MsGraph-WithSecret/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,14 @@ If you want to use this automation:
1. Run the sample

You'll need to install the dependencies using pip as follows:

```Shell
pip install -r requirements.txt
```

Run `confidential_client_secret_sample.py` with the parameters for the app:

```Shell
python confidential_client_secret_sample.py parameters.json
```
Expand Down Expand Up @@ -143,7 +151,13 @@ Open the parameters.json file
### Step 4: Run the sample
Start the application, it will display the users in the tenant.
You'll need to install the dependencies using pip as follows:
```Shell
pip install -r requirements.txt
```
Start the application, it will display some Json string containing the users in the tenant.
```Shell
python confidential_client_secret_sample.py parameters.json
Expand Down
2 changes: 2 additions & 0 deletions 1-Call-MsGraph-WithSecret/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
requests>=2,<3
msal>=0,<2
15 changes: 14 additions & 1 deletion 2-Call-MsGraph-WithCertificate/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,13 @@ If you want to use this automation:
> Other ways of running the scripts are described in [App Creation Scripts](./AppCreationScripts/AppCreationScripts.md)
1. Run the sample
You'll need to install the dependencies using pip as follows:

```Shell
pip install -r requirements.txt
```

Run `confidential_client_certificate_sample.py` with the parameters for the app:

```Shell
python confidential_client_certificate_sample.py parameters.json
Expand Down Expand Up @@ -159,7 +166,13 @@ Open the `parameters.json` file
### Step 4: Run the sample
Start the application, it will display the users in the tenant.
You'll need to install the dependencies using pip as follows:
```Shell
pip install -r requirements.txt
```
Start the application, it will display some Json string containing the users in the tenant.
```Shell
python confidential_client_certificate_sample.py parameters.json
Expand Down
2 changes: 2 additions & 0 deletions 2-Call-MsGraph-WithCertificate/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
requests>=2,<3
msal>=0,<2

0 comments on commit 12118ab

Please sign in to comment.