Ajmal-hassan / payroll

Track & analyze payroll in order to make informed decisions.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

payroll

Build Code Climate Dependency Status

Simple internal application to visualize payroll and inform salary decisions at Bendyworks. Please feel encouraged to fork this and use for your company's needs as well. Pull requests encouraged!

We're using google_visualr gem for graphing. Documentation

To get this up and running:

  1. clone it
  2. Make sure rvm and the correct ruby are installed
  3. bundle install
  4. rake db:setup
  5. rails s
  6. visit localhost:3000

To run the tests:

  1. rake

To deploy:

  1. once: git remote add heroku https://git.heroku.com/bendyworks-payroll.git
  2. bin/deploy.sh

To create a new user:

  1. From the project directory, start the console with rails c.
  2. User.create(email: 'your@email.com', password: 'yourpassword')

To change your password in the console:

  1. From the project directory, start the console with rails c.
  2. u = User.find_by_email('your@email.com')
  3. u.update password: 'newpassword'

Let's use page specific JavaScript, which means that you need to remember these main ideas:

  1. Don't // require_tree . in the application.js manifest. JavaScript assets still live in the app/assets/javascripts/ directory.
  2. Add new JavaScript assets to config/intializers/assets.rb's Rails.application.config.assets.precompile list.
  3. Include the JavaScript in the specific view where it is required by using a javascript_include_tag.

About

Track & analyze payroll in order to make informed decisions.


Languages

Language:Ruby 73.5%Language:Haml 10.0%Language:Gherkin 5.1%Language:HTML 5.1%Language:JavaScript 4.3%Language:SCSS 1.6%Language:Shell 0.2%