Skip to content

Commit

Permalink
feat(tools): remove obstack and add rancher as docker alternative
Browse files Browse the repository at this point in the history
  • Loading branch information
trystan2k committed Jul 21, 2024
1 parent bc09d11 commit 6d8ebdc
Show file tree
Hide file tree
Showing 5 changed files with 68 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ npmrc entry in the .envrc file of the folder of the project.
8. DisplayBuddy (<https://displaybuddy.app/>) - Control external monitors via software
9. Presentify (<https://presentify.compzets.com/>) - Allow annotations in screen
10. Ente (<https://ente.io/>) - Alternative to Google Photos
11. Rancher Destop (<https://rancherdesktop.io/>) - Alternative to Docker
11. Podman (<https://podman.io/>) - Alternative to Docker

## Possible issues

Expand Down
3 changes: 3 additions & 0 deletions symlinks/.zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,9 @@ if [ -f "$HOME"/.exports.path ]; then
. "$HOME"/.exports.path
fi

# Add Rancher Desktop bin into path
export PATH="$PATH:$HOME/.rd/bin"

# Maybe this shoudl be necessary if it does not auto load in IDEs, for example
#asdf exec direnv reload

Expand Down
2 changes: 2 additions & 0 deletions tools/macos/Brewfile
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,13 @@ cask "piphero"
cask "raycast"
cask "shottr"
brew "termshot"
brew "trex"

## Dev
cask "bruno"
cask "figma"
cask "kitty"
brew "rancher"
brew "zellij"

## Browsers
Expand Down
3 changes: 0 additions & 3 deletions tools/macos/Brewfile.personal
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@ cask "parallels"
cask "pock"
cask "transmission"

# Dev
cask "orbstack"

## Multimedia
cask "iina"
cask "stremio"
Expand Down
62 changes: 62 additions & 0 deletions upgrades/from-13.5.0-to-13-6-0.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
#!/usr/bin/env bash

# Export dotfiles folder
DOTFILES_FOLDER="$(pwd | grep -o '.*dotfiles')"

#shellcheck source=/dev/null
source "$DOTFILES_FOLDER"/symlinks/.exports

# Load functions
#shellcheck source=/dev/null
source "$DOTFILES_FOLDER"/lib/functions

_remove() {
# ---------------------------------------------
# Uninstall not needed anymore
# ---------------------------------------------

info "Remove step"
brew uninstall --ignore-dependencies node

info "Removing OrbStack"
brew uninstall orbstack
}

_add() {
# ---------------------------------------------
# Install new tools
# ---------------------------------------------

info "Add step"

info "Install Rancher Desktop"
brew install rancher
}

_configure() {
# ---------------------------------------------
# Install new tools
# ---------------------------------------------

info "Configure step"
}

_cleanup () {
# ---------------------------------------------
# Cleanup and finish
# ---------------------------------------------

info "Cleanup step"

#shellcheck source=/dev/null
. "$DOTFILES_FOLDER"/macos/cleanup.sh
}

execute() {
_remove
_add
_configure
_cleanup
}

execute 2>&1 | tee -a "$DOTFILE_LOG_FILE"

0 comments on commit 6d8ebdc

Please sign in to comment.