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
gitaliases such as
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.
Clone this repo somewhere (I recommend into a
directory, but it doesn't really matter), and then run
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.
Pull requests are welcome!