- 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]"
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 ofwc -l theme.scss
) - Add it to the navbar menu in application.html.erb
- Choose one official or unofficial
- Eventually clean the json for the official themes
- Save the json in app/assets/stylesheets/highcharts_themes
npm install
electron .
ornpm start