Skip to content

Corresponding rails website to render the stats calculated by the python script at "paper-gamification"

License

Notifications You must be signed in to change notification settings

sebastianwoinar/paper-gamification-website

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

paper-gamification-website

Gamifiy your paper writing experiences!

This is a visualization website of the statistics generated by the python script in my other repository: paper-gamification. The main part of the visualization is done with the help of HTML <canvas> and several Processing.js scripts.

Installation

1) Deployment

At the moment, I use Heroku for deployment, but you should be able to deploy this app anywhere. For Heroku: clone this repository, register on Heroku and follow their instructions on how to deploy a rails app.

2) Setup

  • Create and migrate the database
  • Insert at least one paper. For example via rails console on Heroku:

heroku run rails console

Paper.create :title => "The Flux-Compensator"

  • Add Postmark for sending emails on Heroku heroku addons:docs postmark

  • Configure Postmark to use your email settings heroku addons:open postmark

  • If you want to use postmark locally as well: you have to set environment variables. To do this automatically, you can use foreman. Create a file with your settings: bash -c 'echo "POSTMARK_API_KEY=heroku config:get POSTMARK_API_KEY" >> .env' bash -c 'echo "POSTMARK_SMTP_SERVER=heroku config:get POSTMARK_SMTP_SERVER" >> .env' bash -c 'echo "POSTMARK_INBOUND_ADDRESS=heroku config:get POSTMARK_INBOUND_ADDRESS" >> .env'

and start your rails instance with foreman start

Contribution

Plese feel free to contribute! I'm rather new to open source publishing ;)

About

Corresponding rails website to render the stats calculated by the python script at "paper-gamification"

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • Ruby 47.2%
  • Processing 37.9%
  • CSS 8.9%
  • CoffeeScript 4.5%
  • JavaScript 1.5%