feat: add scripts/arty.sh
This commit is contained in:
@@ -19,3 +19,6 @@
|
|||||||
!signature.txt
|
!signature.txt
|
||||||
!LICENSE
|
!LICENSE
|
||||||
!README.md
|
!README.md
|
||||||
|
|
||||||
|
!scripts/
|
||||||
|
!scripts/**/*
|
||||||
@@ -56,28 +56,25 @@ git init && git remote add origin git@dev.pivoine.art:2222/valknar/home.git
|
|||||||
git fetch && git reset --hard origin/main
|
git fetch && git reset --hard origin/main
|
||||||
git branch --set-upstream-to=origin/main main
|
git branch --set-upstream-to=origin/main main
|
||||||
|
|
||||||
# Or using arty (if already installed)
|
|
||||||
arty clone home
|
|
||||||
|
|
||||||
# 2. Configure git
|
# 2. Configure git
|
||||||
git config --global init.defaultBranch main
|
git config --global init.defaultBranch main
|
||||||
git config --global --add safe.directory /home/$USER
|
git config --global --add safe.directory /home/$USER
|
||||||
|
|
||||||
# 3. Sync all dependencies (version managers, shell config, etc.)
|
# 3. Sync all dependencies (version managers, shell config, etc.)
|
||||||
arty sync
|
arty.sh sync
|
||||||
|
|
||||||
# 4. Install system packages
|
# 4. Install system packages
|
||||||
arty debian/update && arty debian/install
|
arty.sh debian/update && arty.sh debian/install
|
||||||
|
|
||||||
# 5. Install development tools
|
# 5. Install development tools
|
||||||
arty rust/install
|
arty.sh rust/install
|
||||||
arty node/install
|
arty.sh node/install
|
||||||
arty ruby/install
|
arty.sh ruby/install
|
||||||
arty python/install
|
arty.sh python/install
|
||||||
|
|
||||||
# 6. Install global packages
|
# 6. Install global packages
|
||||||
arty npm/install
|
arty.sh npm/install
|
||||||
arty gem/install
|
arty.sh gem/install
|
||||||
|
|
||||||
# 7. Source the shell configuration
|
# 7. Source the shell configuration
|
||||||
source ~/.zshrc
|
source ~/.zshrc
|
||||||
@@ -85,33 +82,33 @@ source ~/.zshrc
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## ARTY - REPOSITORY ORCHESTRATION
|
## arty.sh - REPOSITORY ORCHESTRATION
|
||||||
|
|
||||||
### Available Scripts
|
### Available Scripts
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# System setup
|
# System setup
|
||||||
arty debian/update # Enable non-free repos and update sources
|
arty.sh debian/update # Enable non-free repos and update sources
|
||||||
arty debian/install # curl, wget, zsh, fzf, davfs2, make, imagemagick, ffmpeg, yt-dlp, pkg-config, zstd, libffi-dev, libyaml-dev, libssl-dev, liblzma-dev, libbz2-dev, libncurses-dev, libreadline-dev, libsqlite3-dev, python3-tk
|
arty.sh debian/install # curl, wget, zsh, fzf, davfs2, make, imagemagick, ffmpeg, yt-dlp, pkg-config, zstd, libffi-dev, libyaml-dev, libssl-dev, liblzma-dev, libbz2-dev, libncurses-dev, libreadline-dev, libsqlite3-dev, python3-tk
|
||||||
|
|
||||||
# Development tools
|
# Development tools
|
||||||
arty docker/install # Docker Engine with user group
|
arty.sh docker/install # Docker Engine with user group
|
||||||
arty rust/install # Rust toolchain via rustup
|
arty.sh rust/install # Rust toolchain via rustup
|
||||||
arty node/install # Node.js via nvm
|
arty.sh node/install # Node.js via nvm
|
||||||
arty ruby/install # Ruby via rbenv
|
arty.sh ruby/install # Ruby via rbenv
|
||||||
arty python/install # Python via pyenv
|
arty.sh python/install # Python via pyenv
|
||||||
arty go/install # Go via apt
|
arty.sh go/install # Go via apt
|
||||||
arty hugo/install # Hugo extended via go install
|
arty.sh hugo/install # Hugo extended via go install
|
||||||
|
|
||||||
# CLI tools
|
# CLI tools
|
||||||
arty claude/install # Claude AI CLI
|
arty.sh claude/install # Claude AI CLI
|
||||||
arty yq/install # yq YAML processor
|
arty.sh yq/install # yq YAML processor
|
||||||
arty gh/install # GitHub CLI
|
arty.sh gh/install # GitHub CLI
|
||||||
arty tailscale/install # Tailscale
|
arty.sh tailscale/install # Tailscale
|
||||||
arty ollama/install # Ollama
|
arty.sh ollama/install # Ollama
|
||||||
```
|
```
|
||||||
|
|
||||||
### What Arty Manages
|
### What arty.sh Manages
|
||||||
|
|
||||||
- **Version managers** (nvm, rbenv, pyenv)
|
- **Version managers** (nvm, rbenv, pyenv)
|
||||||
- **Shell configuration** (Oh-My-Zsh, Powerlevel10k, plugins)
|
- **Shell configuration** (Oh-My-Zsh, Powerlevel10k, plugins)
|
||||||
@@ -194,6 +191,9 @@ This repository uses an **inverted `.gitignore`** pattern:
|
|||||||
!signature.txt
|
!signature.txt
|
||||||
!LICENSE
|
!LICENSE
|
||||||
!README.md
|
!README.md
|
||||||
|
|
||||||
|
!scripts/
|
||||||
|
!scripts/**/*
|
||||||
# ...
|
# ...
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Executable
+2174
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user