- Clone (git clone https://github.com/BrickworkSoftware/scripts.git) or otherwise download this repository.
- Copy config_sample.yml to config.yml and edit appropriate keys.
- On the command line:
- If necessary install bundler: gem install bundler
- Change directory to where you cloned or downloaded this repository and execute bundler: bundle install
- Run your script
- Your Pivotal API Token can be found at the bottom of your profile page on Pivotal. Take that token add it to your config.yml beside pivotal_api_keyoverwriting the boilerplate text.
- Execute script passing a projectparameter and alabelparameter.
- Project can be either "dev" or "asiago".
- Label defines the label used to filter stories for inclusion. e.g. "sprint 5"
- Open cards.pdfcreated in the same directory as your script.
- In the print dialog, set your paper to 4x6 borderless
- Make sure 4x6 index cards have been placed in the paper tray of the printer and the printer settings have been updated to reflect the 4x6 index cards.
Usage: ./pivotal_task_cards.rb [options]
Specific options:
    -p, --project PROJECT            REQD: 'dev', 'asiago', 'product'
    -l, --label LABEL                Pivotal label to select stories
    -d, --story_id STORY_ID          ID of a particular story
    -i, --corner_icon ICON           Corner icon
    -S, --storycards                 Only generate story cards
    -h, --help                       Show this message
./pivotal_task_cards.rb -p dev -l "sprint 5"
This script requires the inclusion of Brickwork API keys for all environments one intends to utilize this for.
./special_hours_update.rb domain csv_file
./special_hours_update.rb katespade-staging ksny_holiday_hours.csv
- "you must login" -> your api key is wrong
- "an error has occurred" -> check if a store with that id exists in that env
- "start time and end time cannot be blank" -> possible it's a closed time slot and they omitted the boolean