Source for QuantifiedAwesome.com
Ruby CSS HTML Cucumber Emacs Lisp CoffeeScript JavaScript
Latest commit bb4dae8 Dec 2, 2015 @sachac Add token to time review
Permalink
Failed to load latest commit information.
app Fix edit form Jul 3, 2015
config Rename move action Jun 10, 2015
db Fix nil total for receipt category Jun 16, 2015
doc
features
lib Rake changes Dec 27, 2012
lisp Add token to time review Dec 2, 2015
public Fix typo May 12, 2015
script
spec
vendor/assets Simplify Gemfile; remove unused offline code Jan 13, 2015
.gitignore Update git ignore Nov 7, 2014
.gitmodules Update Vagrantfile Nov 30, 2014
.rspec Update to Rails 4.1 Nov 3, 2014
.travis.yml Fix Rakefile call Feb 3, 2015
Bowerfile Simplify Gemfile; remove unused offline code Jan 13, 2015
Gemfile
Gemfile.lock Manage angular assets properly May 12, 2015
Guardfile Update to Rails 4.1 Nov 3, 2014
LICENSE Add README and LICENSE Aug 18, 2012
README.md Try using Google Oauth2 Feb 11, 2015
Rakefile Try using Google Oauth2 Feb 11, 2015
Vagrantfile.TEMPLATE Rename Vagrantfile Feb 3, 2015
config.ru Initial Aug 20, 2011

README.md

Build Status Coverage Status

This is the source code for QuantifiedAwesome.com. It'll probably take a lot of tweaking to get it to work for you, but at least it's up here! =)

Instructions for setting up:

  1. If you use Vagrant, the included Vagrantfile will set up a bunch of things for you. If you don't use Vagrant, look at the Vagrantfile for ideas on what to install.
  2. Copy config/database.yml.sample to database.yml and customize it for your setup. Create the accompanying databases. If you would like to run your databases within the virtual machine, you may want to apt-get install mysql-server mysql-client.
  3. Copy config/initializers/secret_token.rb.sample to config/initializers/secret_token.rb and update it.

To start with an empty database, run rake db:schema:load. Alternatively, you may want to run rake db:setup, which will set up the database with an admin user. The admin user will have the password "testpasswordgoeshere".

If you use Emacs, see lisp/quantified.el.


Other useful building steps:

rake bower:install


If you're creating your own instance, here's how to set up an admin user using rails console:

u = User.create(email: 'test@example.com', username: 'test', password: 'testpassword', password_confirmation: 'testpassword')
u.role = 'admin'
u.save!
u.confirm!

Environment variables to set: