-
Notifications
You must be signed in to change notification settings - Fork 18
Adding support for MacOs #3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
rwaal
wants to merge
10
commits into
stefanstranger:master
Choose a base branch
from
rwaal:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
152ff2d
add instructions for win & macos
rwaal 996f197
remove out-gridview not being cross platform
rwaal eeb68c4
remove tentant
rwaal 37d3c9a
change subscriptionId
rwaal cb91ebb
change env vars to local.settings.json
rwaal 12aa57e
add macos support to tasks
rwaal d434c28
fix typo
rwaal 036fcd4
Add comment about postmaster
rwaal 312676a
add local.settings.json to gitignore
rwaal 38d80fa
deleting unwanted local.settings.json
rwaal File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -3,3 +3,4 @@ __blobstorage* | |
| __azurite* | ||
| __queuestorage* | ||
| debug.ps1 | ||
| local.settings.json | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,60 @@ | ||
| # Installing prerequisites | ||
|
|
||
| The following things are required on your system. | ||
|
|
||
| - git | ||
| - VS Code | ||
| - Azure Function Core Tools (version 3.0.3160 or higher) | ||
| - PowerShell 7 | ||
| - HTTP Testing and Debugging tool like [Postman](https://www.postman.com/), [Httpmaster](https://www.httpmaster.net/) or [Insomnia](https://insomnia.rest/) | ||
|
|
||
|
|
||
| ## Windows | ||
|
|
||
| The prerequisites on Windows can be installed using [Chocolatey](https://chocolatey.org/) (a package manager for Windows). | ||
|
|
||
| ``` | ||
| # Install Git | ||
| choco install git | ||
| # Install VSCode | ||
| choco install vscode | ||
| # Install Azure Function Core Tools | ||
| choco install azure-functions-core-tools-3 | ||
| # Install PowerShell Core | ||
| choco install pwsh | ||
| # Install HttpMaster | ||
| choco install httpmaster-express | ||
| ``` | ||
|
|
||
| ## MacOs | ||
| The prerequisites on MacOs can be installed using [brew](https://brew.sh/) (a package manager for Mac). | ||
|
|
||
| ``` | ||
| # Install Git | ||
| brew install git | ||
| # Install VSCode | ||
| brew install --cask visual-studio-code | ||
| # Install dotnet | ||
| brew tap caskroom/caskbrew cask install dotnet | ||
| # Install Azure Function Core Tools | ||
| brew install azure-functions-core-tools@3 | ||
| # Install PowerShell 7 | ||
| brew install --cask powershell | ||
| # Install Postman (alternative to httpmaster, which is only available for Windows) | ||
| brew install --cask postman | ||
| ``` | ||
|
|
||
| ## Install PowerShell Modules | ||
|
|
||
| After cloning the Git Repository you can use the bootstrap.ps1 script to install the required PowerShell modules. | ||
|
|
||
|  | ||
|
|
||
| The following PowerShell Modules need to be installed: | ||
|
|
||
| - InvokeBuild | ||
| - Pester | ||
| - PlatyPS | ||
| - Az PowerShell modules* | ||
|
|
||
| \* The installation of the Az PowerShell modules are not part of the bootstrap.ps1 script. If you have not installed these PowerShell modules run `Install-Module -Name Az`on your development machine. |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @rwaal
For running the Pester tests located in the IPAM PowerShell Module environment variables are used. So these still need to be created on your local development machine