Skip to content

The application side of duelystcards.com, a deckbuilder for the Duelyst DCG.

License

Notifications You must be signed in to change notification settings

skeet70/duelystcards

 
 

Repository files navigation

Duelyst Deck Builder

Where it can be found

duelystcards.com

Installation

yarn install

Usage

Create a credentials.js file locally that includes

const env = process.env.NODE_ENV

const def = {
  imgur: {
    clientId: API_ID,
    clientSecret: API_SECRET,
  },
  duelystVersion: CURRENT_VERSION
}

const config = {
  development: {
    api: {
      url: '//localhost:3000',
      version: 'api'
    }
  }
}

export default Object.assign({}, def, config[env])

To bundle the current tree and run a local server for testing.

yarn run dev

Release

Bundle the static files for production, then copy them up to the server so they can replace the current static files:

yarn run build
scp -r dist/* SERVER:~/duelystcards-versions/VERSION
rm -rf /var/www/duelystcards.com/* && cp -r ~/duelystcards-versions/VERSION/* /var/www/duelystcards.com/ <-- on server

About

The application side of duelystcards.com, a deckbuilder for the Duelyst DCG.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 71.8%
  • Vue 16.8%
  • CSS 10.2%
  • Python 1.1%
  • Other 0.1%