Skip to content

Instantly share code, notes, and snippets.

@agbodike
Last active March 23, 2016 23:21
Show Gist options
  • Save agbodike/45905dd72d8c2b6ff1c8 to your computer and use it in GitHub Desktop.
Save agbodike/45905dd72d8c2b6ff1c8 to your computer and use it in GitHub Desktop.
#!/bin/bash
mkdir workspace
(
cd "$HOME/workspace" || exit 1
git clone https://github.com/myhireQ/laptop.git "$HOME/workspace/laptop"
cd "$HOME/workspace/laptop" || exit 1
sh mac 2>&1 | tee ~/laptop.log
)
ln -sfv /usr/local/opt/mysql56/*.plist ~/Library/LaunchAgents
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.mysql56.plist
(
cd "$HOME" || exit 1
git clone https://github.com/myhireQ/dotfiles
env RCRC="$HOME/dotfiles/rcrc" rcup
)
(
cd "$HOME/workspace" || exit 1
git clone https://github.com/myhireQ/hireQ.git "$HOME/workspace/hireQ"
cd "$HOME/workspace/hireQ" || echo "ERROR 3"; exit 1
bin/setup
bin/setup_demo
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment