-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathon-create.sh
25 lines (20 loc) · 866 Bytes
/
on-create.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
## Install additional apt packages
sudo apt-get update \
&& sudo apt upgrade -y \
&& sudo apt-get install -y dos2unix libsecret-1-0 xdg-utils \
&& sudo apt clean -y \
&& sudo rm -rf /var/lib/apt/lists/*
## Configure git
git config --global pull.rebase false
git config --global core.autocrlf input
## Enable local HTTPS for .NET
dotnet dev-certs https --trust
## Restore .NET packages and build the default solution
dotnet restore && dotnet build
## AZURE STATIC WEB APPS CLI ##
# Uncomment the below to install Azure Static Web Apps CLI. Make sure you have installed node.js
npm install -g @azure/static-web-apps-cli
## OH-MY-POSH ##
# Uncomment the below to install oh-my-posh
sudo wget https://github.com/JanDeDobbeleer/oh-my-posh/releases/latest/download/posh-linux-amd64 -O /usr/local/bin/oh-my-posh
sudo chmod +x /usr/local/bin/oh-my-posh