Skip to content

Instantly share code, notes, and snippets.

@somecallmejosh
Last active April 25, 2018 19:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save somecallmejosh/60ecc22568105121f6381a0cc7adcb10 to your computer and use it in GitHub Desktop.
Save somecallmejosh/60ecc22568105121f6381a0cc7adcb10 to your computer and use it in GitHub Desktop.
Front End Dev Setup

UI / Front End Local Dev Environment at BHSI

Setup Windows Subsystem for Linux

This will give us a bash terminal. It also makes it a bit easier to manage file permissions, add dependencies, etc.

Setup Homebrew

Homebrew installs packages to their own directory and then symlinks their files into /usr/local.

From the newly installed Ubuntu terminal: sh -c "$(curl -fsSL https://raw.githubusercontent.com/Linuxbrew/install/master/install.sh)"

Add homebrew to your path

test -d ~/.linuxbrew && PATH="$HOME/.linuxbrew/bin:$HOME/.linuxbrew/sbin:$PATH"

test -d /home/linuxbrew/.linuxbrew && PATH="/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin:$PATH"

test -r ~/.bash_profile && echo "export PATH='$(brew --prefix)/bin:$(brew --prefix)/sbin'":'"$PATH"' >>~/.bash_profile

echo "export PATH='$(brew --prefix)/bin:$(brew --prefix)/sbin'":'"$PATH"' >>~/.profile

Homebrew Packages to install

NPM Packages to install

  • Sass - npm install -g sass
  • Gulp - npm install -g gulp-cli
  • Foundation CLI (for email templates) - npm install -g foundation-cli
    • Looks like this requires python. Trying to install with brew then will re-run.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment