Last active
May 24, 2023 18:12
-
-
Save ApenasGabs/1a309d1df9defbfb7d4f195ae4d1ee4e to your computer and use it in GitHub Desktop.
Script config vm azure
This file contains 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
New-Item "C:\DadosApp" -itemType Directory | |
Set-ExecutionPolicy AllSigned | |
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1')) | |
SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin" | |
choco install dotnet-6.0-sdk -y | |
choco install git -y | |
netsh advfirewall set allprofiles state off | |
cd C:\DadosApp | |
git clone https://gitlab.ic.unicamp.br/msft/appweb.git | |
cd C:\DadosApp\appweb | |
dotnet run --urls http://0.0.0.0:80 | |
choco install sql-server-express sql-server-management-studio -y |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment