- Clone the repository using git:
git clone https://github.com/Aaronneyer/pollr
- Switch to pollr directory:
cd pollr
- Install postgres:
sudo apt-get install postgresql libpq-dev
- Create your default postgres user: (Replace $USER with your username)
sudo -u postgres psql -c "create role $USER with createdb login password '$USER'"
- Bundle gems:
bundle
- Create and migrate database:
bundle exec rake db:create db:migrate
- Start your server:
bundle exec rails server
- ""
- ""
- Download and install homebrew and run 'brew install postgresql'
- Download and install rvm, run 'rvm install 2.1.5'
- Download postgres app and run postgres server. Click run psql and paste "create role $USER with createdb login password $USER
- Bundle gems: 'bundle'
- Create and migrate database: 'bundle exec rake db:create db:migrate'
- Start your server: 'bundle exec rails server'