Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

timeline_data.yml #13

Open
Maxoulapince opened this issue Feb 21, 2019 · 3 comments
Open

timeline_data.yml #13

Maxoulapince opened this issue Feb 21, 2019 · 3 comments
Labels

Comments

@Maxoulapince
Copy link

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

@Maxoulapince
Copy link
Author

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'

@aysark
Copy link
Owner

aysark commented Apr 12, 2019

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'

@Maxoulapince
Copy link
Author

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

Repository owner deleted a comment from boloboloda Feb 23, 2024
@github-staff github-staff deleted a comment from p4u1d34n Oct 24, 2024
@github-staff github-staff deleted a comment from p4u1d34n Oct 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants