Skip to content

Latest commit

 

History

History
53 lines (32 loc) · 1.16 KB

README.md

File metadata and controls

53 lines (32 loc) · 1.16 KB

Atom Vote

A simple voting web application

Status

Circle CI

Description

Atom Vote is a simple voting application that can be used via the web or through the API.

A user creates a question with up to four choices, recieves a public link, then lets the votes roll in.

Development

To set up your development environment in OSX follow the directions below.

Brew Installs

Install Homebrew from https://github.com/mxcl/homebrew or http://brew.sh/

brew update
brew install rbenv ruby-build postgresql git apple-gcc42 qt5

Configure Postgres

Ensure you have a root user with no password.

Create the following databases:

  1. atom_vote_development
  2. atom_vote_test

Grant permission on these new databases to the root user.

Ruby Install

rbenv install 2.2.3
rbenv rehash

Clone Repository

git clone [email protected]:jordanell/atom-vote.git
cd atom-vote
rbenv local 2.2.3
bundle install
bundle exec rake db:migrate

Run the server

rails server