Install PostgreSQL if you haven't already (see below)
$ git clone git@github.com:dasgib/linkding.git
$ cd linkding
$ git flow init
$ bundle install
$ rake db:setup
$ rails server
OSX
You need PostgreSQL:
$ brew install postgresql
$ curl http://nextmarvel.net/blog/downloads/fixBrewLionPostgres.sh | sh
Fix your $PATH (in ~/.zshrc or ~/.bash_profile or ~/.bashrc)
export PATH=/usr/local/bin:$PATH
If you ran bundle install
before fixing $PATH you need to reinstall pq gem:
gem uninstall pg && gem install pg
Linux
$ apt-get install postgresql
$ sudo -u postgres createuser `whoami`
$ rake db:setup
$ rake