Open Maxoulapince opened 5 years ago
I need to modifie the lines ? MAX_DAYS_OVERDUE = -20 MAX_DAYS_AWAY = 90
config_file = File.dirname(File.expand_path(FILE)) + '/home/pi/dashboard_project/assets/javascripts/timeline_data.yml'
Leave the file timeline_data.yml where it is in the repo, no need to change its location.
Your change:
config_file = File.dirname(File.expand_path(FILE)) + '/home/pi/dashboard_project/assets/javascripts/timeline_data.yml'
Is not right. It should be:
config_file = File.dirname(File.expand_path(__FILE__)) + '/../timeline_data.yml'
Hello, Thank you for your return about my question.
I tried the method but I do not arrive at the date of the day. Not the rest.
I redid a basic configuration.
Maxim
Hello, I installed your timeline and it is displayed, however I do not know wher i put the file "timeline_data.yml" and I do not have dates. Where should I paste this file?
Thank you Maxime