Skip to content
/ tdfb Public
forked from bobar/tdfb

Caisse enregistreuse du binet BôBar

License

Notifications You must be signed in to change notification settings

pixmaip/tdfb

 
 

Repository files navigation

Code Climate

Setup tdb database with user bob

  • Run mysql
  • CREATE DATABASE tdb;
  • CREATE USER 'bob'@'localhost' IDENTIFIED BY 'zde';
  • GRANT ALL PRIVILEGES ON tdb.* TO 'bob'@'localhost';
  • FLUSH PRIVILEGES;
  • Exit mysql ands run the rake task rake "db:sync_from_save[gmailpassword]"

Adding a new theme

Here are the steps to follow:

  • Download your bootstrap theme (for instance from http://bootstrap-live-customizer.com/) into app/assets/stylesheets/themes
  • Run gsed -ri "/^\s+(margin[:-]|padding[:-]|(min-)?height:|(border-)?width:|font-family:\s['\"]|font-size:|font-weight:|line-height:).*$/d" theme.scss
  • Run gsed -rzi "s/([{}])[^{}]*\{\s*\}/\1/g" theme.scss multiple times until it doesn't change anything anymore (check output of wc -l theme.scss)
  • Add it to the navbar menu in application.html.erb

Adding a new Highcharts theme

Running the electron app

  • npm install
  • electron . or npm start

About

Caisse enregistreuse du binet BôBar

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • SCSS 82.1%
  • Ruby 9.7%
  • HTML 5.8%
  • JavaScript 2.3%
  • Shell 0.1%