Go to file
radex 56321627a6 Add missing fonts 2020-05-28 22:00:02 +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
Gemfile Better margins, sizing, layout... 2017-05-29 00:51:24 +02:00
Gemfile.lock Bump dependencies, add basic readme 2020-05-28 22:00:02 +02:00
README.md Bump dependencies, add basic readme 2020-05-28 22:00:02 +02:00
main.rb Fix text wrapping 2017-09-25 13:37:13 +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