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
Some more fixes to make it work on the Raspi again #7
Conversation
there is a bug in latest angular which breaks the routes for Photobooth.
because otherwise it is not possible to start rails s with a different port which we do in the service file.
to copy images in one directory and create a combined image.
Note that the rake file is quick and dirty but wanted to push it somewhere for the next time ;) |
lib/tasks/picture_set.rake
Outdated
def combine_images(date, path) | ||
dir = File.join(path, date) | ||
begin | ||
Syscall.execute("time montage -geometry '25%x25%+25+25<' -background '#{OPTS.background_color}' " \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Better only do it when #{date}#{COMBINED_SUFFIX}
does not exist yet.
@digitaltom added the skip for combined image tasks |
Rubcop is acting weird 🤔 No idea how this one line introduced
|
because otherwise it would include the combined image into the new combined ;) It is needed to run the picture_set:clean_combine_images task before.
Ok, there was a |
No description provided.