Dotfiles for Khan Academy website developers.
Shell Other
Pull request Compare This branch is 210 commits ahead of divad12:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.git_template
.vim/ftplugin
.arcconfig
.arclint
.bash_profile.khan
.bashrc.khan
.gitconfig.khan
.gitconfig.khan-xtra
.profile.khan
Makefile
README.markdown
bash_profile.default
bashrc.default
git-completion.bash
gitignore.template
linux-setup.sh
mac-android-emulator.sh
mac-android-setup.sh
mac-ios-setup.sh
mac-setup.sh
profile.default
setup.sh
shared-functions.sh

README.markdown

Configuration files, and setup scripts, for Khan Academy website developers. A lot of what's here is Khan Academy-specific:

  • Vim filetype plugins conforming to Khan Academy's style guide
  • tell ack to skip crap that the deploy script litters (eg. combined/compressed CSS/JS files)
  • a pre-commit linter

and the rest of it just contains generally useful things, such as

  • handy git aliases such as git graph

This is meant to complement the dev setup on the Khan Academy Forge. The setup scripts here assume you have done the initial setup on that Forge page (installing npm, etc) before running commands here.

Setup

Clone this repo somewhere (I recommend into a ~/khan/devtools directory, but it doesn't really matter), and then run make in the cloned directory:

mkdir -p ~/khan/devtools
cd ~/khan/devtools
git clone git://github.com/Khan/khan-dotfiles.git
cd khan-dotfiles
make

This will install your system: installing executables, python libraries, dotfiles, etc. It will not overwrite any of your existing dotfiles but will emit a warning if it sees something it doesn't understand.

This script is idempotent, so it should be safe to run it multiple times.

You may wish to install autojump if you're a frequent user of the terminal to navigate the filesystem.

Hello

Originally extracted from David's dotfiles, with commits and lines here and there stolen from Jamie, Desmond, and others. Non-dotfile config files, and the setup script, written by Craig Silverstein.

Pull requests are welcome!