Skip to content
Edward Brown edited this page Jun 15, 2016 · 124 revisions

####Basic Accounts note: use personal / school email

  1. create a github account
  2. create a gravatar account
  • upload photo
  1. create a stackoverflow account

####Mac setup

  1. Download and install these from MacPatch / Software Catalog
  • Adobe Reader, Adobe Flash Player, Firefox ESR, xPh3, XQuartz, Stretch Break, Java 1.7, Xcode, Command Line Tools, Cisco Jabber Client
  1. Configure your Mac
  • Open settings, mouse, change right click from primary action to secondary action
  • Click the background to have finder show up at the top menu bar, click Finder, Preferences. Under General un-check all four options for 'Show these items on the desktop:' Under Sidebar, Favorites check the house with your computers name next to it.
  • Remove all icons from the dock but Finder, Settings, Safari
  • Press Apple & spacebar type in Terminal and press enter
  • Right click on Terminal, Options, Keep in dock
  • Press Apple & spacebar type in Firefox and press enter
  • Right click on Firefox, Options, Keep in dock
  • Click Finder in the Dock, your computers name. Right Click and create a new folder 'Applications'
  1. Download and install (save .app files to $HOME/Applications, then double-click the icons and install the applications)
  1. Update bash: Click on Terminal in the Dock vim tutorial

     cd
     mkdir workbench
     mkdir projects
     cd projects
     git clone https://github.com/aims-group/intern.git
     cp intern/basic-dot/.bash* ~/
     cp intern/basic-dot/.vimrc ~/
     cd
     source .bash_profile
    
  2. Install homebrew

      cd ~/
      mkdir homebrew
      curl -L http://github.com/Homebrew/homebrew/tarball/master | tar xz --strip 1 -C homebrew
    

    Note: brew usage examples To search for a package called 'package_name': brew search package_name To install a package called 'package_name': brew install package_name

  3. Setup vim

     cd 
     brew install macvim
     curl -k -Lo- https://bit.ly/janus-bootstrap | bash
    
  • To update vim (janus)

      cd ~/.vim
      rake
    
  • Add this to the end of the .vimrc file vim .vimrc

      autocmd VimEnter * NERDTree
      autocmd VimEnter * wincmd p
      let NERDTreeShowHidden=1
      colorscheme Vividchalk
    
  1. Setup wget

     brew install wget
     cd ~/workbench
     mkdir cert
     cd cert/
     wget https://nst-int.llnl.gov/cspca.crt
    
  2. Setup Python

  • Python 2

      brew install python
    
  • now that we have python 2.7 and pip 2.7 we can install python packages

      pip2 install virtualenv --cert=~/workbench/cert/cspca.crt
      mv ~/homebrew/bin/virtualenv ~/homebrew/bin/virtualenv-2.7
    
  • Python 3

      brew install python3
    
  • now that we have python 3 and pip 3 we can install python packages

      pip3 install virtualenv --cert=~/workbench/cert/cspca.crt
      mv ~/homebrew/bin/virtualenv ~/homebrew/bin/virtualenv-3.5
    
  • Virtual ENV - Chris Scott

  • double check your path and that virtualenv2 python --version is 2 and virtualenv3 python --version is 3

      virtualenv2 env2  # for Python2
      virtualenv3 env3  # for Python3
    
  1. Setup jekyll

     cd
     gem install execjs jekyll --user-install
    
  2. Test to see jekyll worked

     cd ~/projects
     jekyll new test
     rm -rf test
    
  3. Setup Hyde

    pip2 install hyde BeautifulSoup4
    
  4. test to see hyde works

    cd ~/projects
    mkdir test
    cd test
    hyde create
    cd ../
    rm -rf test
    

####GitHub setup

  1. create repo dot

  2. create repo username.github.io

  3. create ssh key and save to github

  4. clone repos

     cd ~/projects
     git clone [email protected]:USERNAME/USERNAME.github.io.git
     git clone [email protected]:USERNAME/dot.git
    
Clone this wiki locally