modificato post install
This commit is contained in:
@@ -115,7 +115,7 @@ print_success "Profili VS Code creati"
|
||||
|
||||
# Ora installiamo le estensioni per ogni profilo
|
||||
print_status "Installazione estensioni per profilo Default..."
|
||||
code --profile "Default" --install-extension ms-vscode.vscode-git
|
||||
#code --profile "Default" --install-extension ms-vscode.vscode-git
|
||||
code --profile "Default" --install-extension pkief.material-icon-theme
|
||||
check_command "Estensioni profilo Default"
|
||||
|
||||
@@ -125,21 +125,18 @@ code --profile "Python" --install-extension ms-python.flake8
|
||||
code --profile "Python" --install-extension charliermarsh.ruff
|
||||
code --profile "Python" --install-extension ms-python.pylint
|
||||
code --profile "Python" --install-extension ms-python.black-formatter
|
||||
code --profile "Python" --install-extension ms-vscode.vscode-git
|
||||
check_command "Estensioni profilo Python"
|
||||
|
||||
print_status "Installazione estensioni per profilo Rust..."
|
||||
code --profile "Rust" --install-extension rust-lang.rust-analyzer
|
||||
code --profile "Rust" --install-extension vadimcn.vscode-lldb
|
||||
code --profile "Rust" --install-extension serayuzgur.crates
|
||||
code --profile "Rust" --install-extension ms-vscode.vscode-git
|
||||
check_command "Estensioni profilo Rust"
|
||||
|
||||
print_status "Installazione estensioni per profilo Web..."
|
||||
code --profile "Web" --install-extension ms-vscode.vscode-typescript-next
|
||||
code --profile "Web" --install-extension bradlc.vscode-tailwindcss
|
||||
code --profile "Web" --install-extension formulahendry.auto-rename-tag
|
||||
code --profile "Web" --install-extension ms-vscode.vscode-git
|
||||
code --profile "Web" --install-extension esbenp.prettier-vscode
|
||||
check_command "Estensioni profilo Web"
|
||||
|
||||
@@ -181,26 +178,12 @@ check_command "Warp Terminal"
|
||||
|
||||
# === INSOMNIA ===
|
||||
print_status "Installazione Insomnia..."
|
||||
curl -1sLf 'https://packages.konghq.com/public/insomnia/gpg.DE2A7741A397C129.key' | sudo gpg --dearmor -o /usr/share/keyrings/insomnia.gpg
|
||||
sudo tee /etc/apt/sources.list.d/insomnia.sources > /dev/null <<EOF
|
||||
Types: deb
|
||||
URIs: https://packages.konghq.com/public/insomnia/deb/ubuntu
|
||||
Suites: $(lsb_release -cs)
|
||||
Components: main
|
||||
Architectures: amd64
|
||||
Signed-By: /usr/share/keyrings/insomnia.gpg
|
||||
EOF
|
||||
sudo apt update
|
||||
sudo apt install -y insomnia
|
||||
sudo snap install insomnia
|
||||
check_command "Insomnia"
|
||||
|
||||
# === MQTTX ===
|
||||
print_status "Installazione MQTTX..."
|
||||
MQTTX_VERSION=$(curl -s https://api.github.com/repos/emqx/MQTTX/releases/latest | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/' | sed 's/v//')
|
||||
wget -O /tmp/mqttx.deb "https://github.com/emqx/MQTTX/releases/download/v${MQTTX_VERSION}/MQTTX-${MQTTX_VERSION}.deb"
|
||||
sudo dpkg -i /tmp/mqttx.deb
|
||||
sudo apt-get install -f -y # Risolve eventuali dipendenze mancanti
|
||||
rm /tmp/mqttx.deb
|
||||
sudo snap install mqttx
|
||||
check_command "MQTTX"
|
||||
|
||||
# === STRUMENTI SVILUPPO ===
|
||||
@@ -210,9 +193,9 @@ print_status "Installazione strumenti di sviluppo..."
|
||||
sudo apt install -y git
|
||||
check_command "Git"
|
||||
|
||||
# Python e pip
|
||||
sudo apt install -y python3 python3-pip
|
||||
check_command "Python3 e pip"
|
||||
# Python
|
||||
sudo apt install -y python3
|
||||
check_command "Python3"
|
||||
|
||||
# Rust
|
||||
print_status "Installazione Rust..."
|
||||
@@ -227,9 +210,9 @@ source ~/.local/bin/env
|
||||
check_command "UV"
|
||||
|
||||
# Ruff (Python linter)
|
||||
print_status "Installazione Ruff..."
|
||||
pip3 install --user ruff
|
||||
check_command "Ruff"
|
||||
# print_status "Installazione Ruff..."
|
||||
# pip3 install --user ruff
|
||||
# check_command "Ruff"
|
||||
|
||||
# === INCUS ===
|
||||
print_status "Installazione Incus..."
|
||||
@@ -240,7 +223,7 @@ curl -fsSL https://pkgs.zabbly.com/key.asc | sudo gpg --dearmor -o /etc/apt/keyr
|
||||
sudo tee /etc/apt/sources.list.d/zabbly-incus.sources > /dev/null <<EOF
|
||||
Types: deb
|
||||
URIs: https://pkgs.zabbly.com/incus/stable
|
||||
Suites: $(lsb_release -cs)
|
||||
Suites: noble
|
||||
Components: main
|
||||
Signed-By: /etc/apt/keyrings/zabbly.gpg
|
||||
EOF
|
||||
@@ -252,7 +235,7 @@ check_command "Incus"
|
||||
|
||||
# Configurazione iniziale Incus
|
||||
print_status "Configurazione iniziale Incus..."
|
||||
sudo incus admin init --minimal
|
||||
sudo incus admin init
|
||||
sudo usermod -a -G incus-admin $USER
|
||||
print_warning "Disconnettiti e riconnettiti per applicare i permessi di gruppo per Incus"
|
||||
|
||||
@@ -345,7 +328,7 @@ echo " ✓ Insomnia"
|
||||
echo " ✓ MQTTX"
|
||||
echo " ✓ FortiClient VPN"
|
||||
echo " ✓ Git"
|
||||
echo " ✓ Python3 e pip"
|
||||
echo " ✓ Python3"
|
||||
echo " ✓ Rust"
|
||||
echo " ✓ UV"
|
||||
echo " ✓ Ruff"
|
||||
@@ -377,4 +360,4 @@ echo ""
|
||||
echo "Per clonare repository da Gitea:"
|
||||
echo " git clone https://gitbat.duckdns.org:44443/user/repo.git"
|
||||
|
||||
print_status "Buon lavoro!"
|
||||
print_status "Buon lavoro!"
|
||||
|
||||
Reference in New Issue
Block a user