Set up environment
sudo apt-get install nodejs libpq-dev postgresql postgresql-contrib curl fish vim git xclip
Configure postgres
sudo -u postgres createuser sacristan
sudo su postgres -c psql
ALTER USER sacristan WITH SUPERUSER;
\password sacristan
Configure git
git config --global user.name "Sacristan"
git config --global user.email [email protected]
ssh-keygen -t rsa -b 4096 -C "[email protected]"
xclip -sel clip < ~/.ssh/id_rsa.pub
Configure fish shell and oh-my-fish
curl -L https://github.com/oh-my-fish/oh-my-fish/raw/master/tools/install.fish | fish
chsh -s `which fish`
cd ~/.config/fish/
git init
git remote add origin https://github.com/Sacristan/fish_config
rm config.fish
git pull origin master
Install redis
wget http://download.redis.io/releases/redis-stable.tar.gz
tar xzf redis-stable.tar.gz; and cd redis-stable
make
make test
sudo make install