restocks / promo-cards

code to generate and create promo cards

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

restocks-promo-cards

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.

how?

  1. fill out config.js with a postgres url. create a table in your db called codes and make a text column called code in that column.

  2. 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.

  3. check the # of cards you want to make also in config

  4. make sure you have graphicsmagick installed. on osx you can install it with brew install graphicsmagick. then do npm install; node codes.js

  5. you can order these cards at moo.com. use my ref link for 10% off your first purchase.

you should be set

example of what you can do with this

Restocks.io

license

MIT

About

code to generate and create promo cards

License:MIT License


Languages

Language:JavaScript 100.0%