want to make promo cards with random 5 digit characters on them? (this is set up for moo.com)
cool. you're in the right place.
-
fill out
config.js
with a postgres url. create a table in your db calledcodes
and make a text column calledcode
in that column. -
edit the example card (or don't). there's a png that the script uses and you can also edit the .sketch file if you're so inclined. if you need to make a front you can probably just make a copy of the back and edit it.
-
check the # of cards you want to make also in config
-
make sure you have graphicsmagick installed. on osx you can install it with
brew install graphicsmagick
. then donpm install; node codes.js
-
you can order these cards at moo.com. use my ref link for 10% off your first purchase.
you should be set
MIT