Skip to content

Instantly share code, notes, and snippets.

@micjamking
Last active August 29, 2015 14:16
Show Gist options
  • Save micjamking/5617ae14364e71166df6 to your computer and use it in GitHub Desktop.
Save micjamking/5617ae14364e71166df6 to your computer and use it in GitHub Desktop.
2015 Computer Setup for Front end Development (OSX)

2015 Computer Setup for Front end Development (OSX)

Desktop Software

Browsers

Editors

Terminal (Command Line)

Command Line Software

  • Install Solarized Theme [https://github.com/altercation/solarized/tree/master/iterm2-colors-solarized]
    • Solarized Dark
    • $ curl -L https://raw.githubusercontent.com/altercation/solarized/master/iterm2-colors-solarized/Solarized%20Dark.itermcolors > ~/Downloads/Solarized\ Dark.itermcolors
    • Solarized Light
    • $ curl -L https://raw.githubusercontent.com/altercation/solarized/master/iterm2-colors-solarized/Solarized%20Light.itermcolors > ~/Downloads/Solarized\ Light.itermcolors
  • Command Line Tools
    • Install Xcode from App Store or
    • $ xcode-select --install
  • Command Line Configurations
    • $ git clone git@gist.github.com:/205b67177e57360c0070.git
    • $ cd 205b67177e57360c0070 && mv * ../ && cd ../
    • $ rmdir 205b67177e57360c0070
    • $ mkdir -p ~/.vim/colors/; mv solarized.vim ~/.vim/colors/
  • Homebrew
    • Install Homebrew
    • $ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
    • Check system for issues:
    • $ brew doctor
  • Git
    • Update Git
    • $ brew install git
  • Node Version Manager
    • Install NVM
    • $ curl https://raw.githubusercontent.com/creationix/nvm/v0.24.0/install.sh | bash
  • NodeJS
    • Install Node
    • $ nvm install stable
    • Set default node version
    • $ nvm alias default stable
    • $ nvm use stable
  • SASS
    • Install node-sass
    • $ npm install node-sass
    • Install ruby sass
    • $ gem install sass
    • $ sass -v
  • Yeoman
    • Install Yeoman
    • $ npm install -g yo grunt-cli bower

Server Software

  • Ruby Versions Manager
    • Install RVM
    • $ \curl -sSL https://get.rvm.io | bash -s stable
    • $ rvm install ruby --latest
  • WordPress
    • Install WP CLI
    • $ curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar
    • $ php wp-cli.phar --info
    • To be able to just type wp
    • $ chmod +x wp-cli.phar
    • $ sudo mv wp-cli.phar /usr/local/bin/wp

Local Apache, MySQL, PostgreSQL, PHP (& phpMyAdmin)

  • AMP Stack on OSX 10.10 but use MySQL installation instructions from below
  • Install MYSQL w/ Homebrew
    • $ brew install mysql
    • $ unset TMPDIR
    • $ mysql_install_db --verbose --user=``whoami`` --basedir="$(brew --prefix mysql)" --datadir=/usr/local/var/mysql --tmpdir=/tmp
    • $ sudo chown -R _mysql:admin /usr/local/var/mysql/
    • $ mysqlstart
    • $ mysql -u root -p (Do not enter password for local configuration, just press enter.)
    • Add phpmyadmin to hosts file
    • 127.0.0.1 phpmyadmin
  • Install PostgreSQL w/ Homebrew
    • $ brew install postrgresql
  • Update php.ini
    • $ sudo cp /private/etc/php.ini.default /private/etc/php.ini
    • $ edit_php
    • Increase Post/Upload max file size
    • post_max_size = 128M
    • upload_max_filesize = 128M
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment