Go to file
wiktor 89f5a68ee6 HSWro retrofitting 2023-05-30 22:52:00 +02:00
assets HSWro retrofitting 2023-05-30 22:52:00 +02:00
fonts Add missing fonts 2020-05-28 22:00:02 +02:00
.editorconfig Initial commit 2017-05-28 02:53:46 +02:00
.gitignore Initial commit 2017-05-28 02:53:46 +02:00
Dockerfile HSWro retrofitting 2023-05-30 22:52:00 +02:00
Gemfile HSWro retrofitting 2023-05-30 22:52:00 +02:00
Gemfile.lock HSWro retrofitting 2023-05-30 22:52:00 +02:00
README.md Bump dependencies, add basic readme 2020-05-28 22:00:02 +02:00
main.rb HSWro retrofitting 2023-05-30 22:52:00 +02:00

README.md

spejstore-labelmaker

bundle install
bundle exec ruby main.rb

try it out:

GET http://localhost:4567/api/1/preview/:label.png GET http://localhost:4567/api/1/preview/:label.pdf POST http://localhost:4567/api/1/print/:label

where :label is a spejstore label.id or item.short_id