Install homebrew - http://brew.sh/
$ brew install nodejs imagemagick phantomjs
Install redis
$ brew install redis
Ruby 2.0.0
$ rvm install 2.0.0
Instalation guides: https://wiki.postgresql.org/wiki/Detailed_installation_guides
$ sudo sh -c "echo 'deb http://apt.postgresql.org/pub/repos/apt/ precise-pgdg main' > /etc/apt/sources.list.d/pgdg.list"
$ wget --quiet -O - http://apt.postgresql.org/pub/repos/apt/ACCC4CF8.asc | sudo apt-key add -
$ sudo apt-get update
$ sudo apt-get install postgresql-common
$ sudo apt-get install postgresql-9.3 libpq-dev
Create postgres user
$ sudo -u postgres createuser user_name -s
If you would like to set a password for the user, you can do the following
$ sudo -u postgres psql
$ postgres=# \password user_name
Create database
$ rake db:create
Before running the server locally you need to run redis and sidekiq Run redis
$ redis-server
Run sidekiq
$ bundle exec sidekiq
$ git remote add heroku [email protected]:imob21.git
$ git push heroku master