/
My Mac Setup for Sunwave

My Mac Setup for Sunwave

  • brew setup:

    • Setup .zprofile

      # Set PATH, MANPATH, etc., for Homebrew. eval "$(/opt/homebrew/bin/brew shellenv)" export PATH=/Users/mbodkin/.local/bin:$PATH
    • Install the following Packages. Note this list is attached file.

    • Development Font Setup:

      • brew tap homebrew/cask-fonts

      • brew install --cask font-source-code-pro

    • Dart Setup

      • brew install dart

      • brew install dart@2.14

      • brew unlink dart && brew unlink dart@2.14 && brew link dart@2.14

      • dart pub global activate webdev

  • Iterm2 Setup:

    • Install Iterm2 App: Download from here iTerm2 - macOS Terminal Replacement

    • Fix LVIM backspace issue

      • curl -LO https://invisible-island.net/datafiles/current/terminfo.src.gz && gunzip terminfo.src.gz see attachments.

      • sudo /usr/bin/tic -xe tmux-256color terminfo.src

      • set -g default-terminal "xterm-256color"

      • Modify Default Font: Iterm2 → Settings → Select “Profile” Tab → Select “Default” profile name → Select “Text” tab → Select “Source Code Pro” as the “Font” three from bottom.

  • Zshell Setup:

    • Install Oh my shell (oh my zsh ): sh -c "$(wget https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh -O -)

    • My zshrc:

      • Set theme to gnzh:ZSH_THEME="gnzh"

      • Add the following:

        alias docker=podman set -o vi #THIS MUST BE AT THE END OF THE FILE FOR SDKMAN TO WORK!!! export SDKMAN_DIR="$HOME/.sdkman" [[ -s "$HOME/.sdkman/bin/sdkman-init.sh" ]] && source "$HOME/.sdkman/bin/sdkman-init.sh" export SUNWAVE_HOME=~/.config/sunwave/ export PATH="$PATH":"$HOME/.pub-cache/bin"
  • LunarVim Setup:

    • Installation: LV_BRANCH='release-1.2/neovim-0.8' bash <(curl -s https://raw.githubusercontent.com/lunarvim/lunarvim/master/utils/installer/install.sh)

    • Add python module: python3 -m pip install neovim

  • Sdkman Setup for managing java and maven ()

    • Install

      • curl -s "https://get.sdkman.io" | bash

      • source "$HOME/.sdkman/bin/sdkman-init.sh"

    • Setup Java and mvn

      • sdk list java

      • sdk install java-8.0.352-amzn

      • Install the latest mvn version that supports Java 8: sdk install maven

  • Git

    • Install Github Desktop App: GitHub Desktop | Simple collaboration from your desktop

    • Configure:

      • Get line endding right for mac: git config --global core.autocrlf input

      • Use lvim for editing comments: git config --global core.editor lvim

      • Make “less” more friendly on logs and diff runs: git config --global core.pager "less --LONG-PROMPT --tabs=3 --quit-at-eof --quit-if-one-screen --tilde --jump-target=3 --ignore-case --status-column"

      • My git config:

        [filter "lfs"] clean = git-lfs clean -- %f smudge = git-lfs smudge -- %f process = git-lfs filter-process required = true [user] name = Michael Bodkin email = michael.bodkin@sunwavehealth.com [core] autocrlf = input editor = lvim pager = less --LONG-PROMPT --tabs=3 --quit-at-eof --quit-if-one-screen --tilde --jump-target=3 --ignore-case --status-column
      • Info Large File Storage (lfs filter): Git LFS tips and tricks

  • Intellij Setup

    • Plugin Setup (Intellij → Perferences → Plugins)

      • Add AWSTookit, Dart, Checkstyle-IDEA, and IDeaVim

    • Zooming in and out with scrollwheel (Preferences → Editor → General → Change font size with Command+Mouse Wheel) Mouse Zoom

  • Podman Setup:

    • Install: brew install podman

    • Mysql Database setup

      • docker volume create db_dump20220714

      • docker run -p 13306:3306 --platform linux/amd64 --mount type=volume,src=db_dump20220714,target=/var/lib/mysql --name mysql -e MYSQL_ROOT_PASSWORD=Welcome1 -d mysql:5.6.51 --lower_case_table_names=1

      • docker exec -i mysql sh -c "exec mysql -uroot -pPassword1! -e 'create database sunwave3;'"

      • docker exec -i mysql sh -c "exec mysql -uroot -pPassword1! sunwave3" < Dump20220714.sql

      • docker exec -i mysql sh -c "exec mysql -uroot -pWelcome1 sunwave3" < hack.sql

  • SunwaveEMR Setup:

    • IntelliJ

      • Run Config

      • Deployment - Note “Application Context: /SunwaveEMR"

      • Edit Deployment

      • Logs - Choose all so they show up in IntelliJ

      • Startup Shutdown Point to Tomcat home directory.

    • config.properties see attachments.

    • server.xml see attachments.

    • Dart

    • WebContext

  • Aws Setup:

    • Config

    • Usage

  • Security Setup

    • gnugp

    • Firewall

    • Password Rules required for handling HIPAA info

Related content

wack-o-mole database usage
wack-o-mole database usage
Read with this
Legend - EMR Symbols within Sunwave
Legend - EMR Symbols within Sunwave
More like this
Topaz (Signature Pads): Set Up Instructions
Topaz (Signature Pads): Set Up Instructions
More like this
DYMO Label Printers
DYMO Label Printers
More like this
Sunwave 6.14.5
More like this