Hannotaatio - A visual website feedback tool
Hannotaatio is a visual website feedback tool which allows the website users to draw on the website and share the annotated website with the developers.
Go to https://hannotaatio.futurice.com and try out the live demos.
Go to https://hannotaatio.futurice.com for installation instructions.
Requirements
- Ruby 1.9.2
- Rails 3.0.8
- Amazon AWS account for S3 and SES (optional)
Installation steps
-
git clone git://github.com/futurice/hannotaatio.git -
cd hannotaatio -
bundle install -
bundle exec rake rails_admin:install -
cp config/keys.yml.tmpl config/keys.yml -
cp config/database.yml.tmpl config/database.yml -
cp config/environments/production.rb.tmpl config/environments/production.rb -
cp config/environments/qa.rb.tmpl config/environments/qa.rb -
cp config/environments/development.rb.tmpl config/environments/development.rb -
(Optional) Open the config/keys.yml file and edit:
- secret_token (random string, minimum length of 30 characters)
- Amazon Web Service credentials
-
(Optional) Open the config/database.tmpl file and edit it to correspond your own database setup
-
(Optional) Open environment config files config/environments/*.rb and edit them to correspond your own setup.
-
cd bin -
sh build.sh -
cd .. -
bundle exec rake db:migrate -
rails server -
Open your browser and try out the example sites e.g. http://localhost:3000/demos/customer_example2/index-local.html
Troubleshooting
Q: I get an "invalid byte sequence in US-ASCII (ArgumentError)" error
A: You need to set your system's locale to support UTF8:
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8`
The Hannotaatio snippets in your local instance (http://localhost:3000) are pointing to production API https://hannotaatio.futurice.com.
To test your local API you can use the two example sites:
- http://localhost:3000/demos/customer_example2/index-local.html
- http://localhost:3000/demos/customer_example5/index-local.html
Notice that instead of using index.html you should use index-local.html for local testing since those files have been configured to use the API running at localhost:3000. Feel free to modify the _hannotaatioPreferences on the index-local.html files.
Backend unit tests
bundle exec rake test
Frontend unit tests
Browse to http://localhost:3000/tests/
Hannotaatio was made as a school project for a Software Development Project course at Aalto University. The project was sponsored by Futurice.
Developers
- Mikko Koski (Aalto University student, Futurice employee)
- Marja Käpyaho (Aalto University student, Futurice employee)
- Antti Vuorela (Aalto University student, Futurice employee)
- Martin Richter (Aalto University student, Futurice employee)
- Kim Dikert (Aalto University student)
- Yu Shen (Aalto University student)
- Maksim Luzik (Aalto University student)
- Peter Lunberg (Aalto University student)
Product owner
- Ville Saarinen (Futurice)