This started as a joke between friends and my boyfriend Jon. The name evaluatjon is a play on Jon's name and "evaluation." I bought the domain name and then I couldn't just sit on it, so this app was born. It lets you rate Jon's different traits and leave a little comment with your rating. Jon can then log in and respond to ratings, as well as delete both ratings and his own responses.
Someone might find use in this as a guestbook, a survey tool, or a fun way to elicit feedback about yourself or anything really. It's built as a Ruby on Rails JSON API back end and an AngularJS front end. I used Bower, Yeoman, and Grunt to develop it.
You need Ruby (I recommend RubyInstaller and its DevKit for Windows), RubyGems, Bundler, PostgreSQL, and node.js and npm.
bundlecreateuser -P -s -e evaluatjonrake db:create db:migrate db:seedcd clientnpm installnpm install -g bowerbower installnpm install -g grunt-cligrunt serveto watch for front end file changes as well as start the Rails server.
RAILS_ENV=test rake db:create db:migrateRAILS_ENV=test rake spec:controllersRAILS_ENV=test rake spec:models
These use Capybara Webkit. You will need Qt.
grunt heroku:productionto update the contents ofpublic/.RAILS_ENV=test rake spec:features
git remote add heroku git@heroku.com:yourherokuapp.githeroku config:set NODE_ENV=productionheroku buildpacks:add https://github.com/jasonswett/heroku-buildpack-nodejs-grunt-compassheroku buildpacks:add https://github.com/heroku/heroku-buildpack-ruby.gitgit push heroku masterheroku run rake db:migrateheroku run rake db:seedheroku ps:scale web=1- Optionally run
heroku run rails cto open a Rails console and manually create a user, ideally Jon. This user will be able to create replies, delete replies, and delete ratings. Their replies always show up tagged as Jon.
Thanks to How to Wire Up Ruby on Rails and AngularJS as a Single-Page Application.
