Skip to content
 
 

Latest commit

 

History

91 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VKIT

Welcome to VKIT for Star Wars CCG! This tool lets you print out all of the "Virtual Cards" for the game.

For more information about Star Wars CCG, check out the SWCCG Players Committee website here: https://www.starwarsccg.org/

Where Can I Ask Questions?

The best place to ask questions about this project is on the Star Wars CCG Players Committee Forums. Specifically, the "Resources" Sub-Form: https://forum.starwarsccg.org/viewforum.php?f=188

Where are the Images?

  • The source of truth for all images is in the swccg-vkit-images git repo.
  • Images are uploaded by a GitHub action to the res.starwarsccg.org S3 Bucket.
  • allCards.json is generated from a listing of the images stored in the res.starwarsccg.org S3 Bucket.

Generating the json file

  • create_json.js lists all the images located at https://res.starwarsccg.org/vkit/cards/standard/ and creates a json file from it.
  • create_json.js requires that environment variables, AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY, or AWS_PROFILE be set.
  • Run the script using NodeJS and the AWS-SDK for Javascript.
export AWS_PROFILE="swccg-production"
node create_json.js

Deploying

  • vkit is hosted in the S3 bucket: vkit.starwarsccg.org.
  • Deploying to the S3 bucket is handled by a GitHub Action when merging in to the Master Branch.
  • For YOU to deploy, you must:
    1. Create a pull request against this repo
    2. Have the pull request merged to master.
  • Once @DevoKun or @thomasmarlin approve and merge the pull request the GitHub action will automatically deploy the latest code version.

How To Contribute?

If you see bugs in the current data, please contribute!

Here's a brief overview of what you will need to do:

  1. Create a Fork of the code
  2. Create a new branch inside your fok
  3. Commit your changes in that branch
  4. Create a pull request (PR)
  5. Someone on the team will review your PR and get it merged?

There is a nice tutorial here: https://www.thinkful.com/learn/github-pull-request-tutorial/Time-to-Submit-Your-First-PR#Time-to-Submit-Your-First-PR

Attribution

This code is a fork of the original here: https://github.com/thomasmarlin/vkit

About

Generates PDFs with Printable "Virtual Cards"

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages