Skip to content
My Hearthstone collection.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
bower_components
data
lib
source
spec/javascripts
.gitignore
.ruby-version
.travis.yml
Gemfile
Gemfile.lock
LICENSE
README.md
Rakefile
bower.json
config.rb

README.md

Hearthstone Collection

Codacy Badge Build Status

Well met!

This site uses data from Hearthstone JSON.

Environment Prereqs

You should have the following minimally setup:

Initial Project Setup

$ git clone git@github.com:bergren2/hearthstone.git
$ cd heymrbass
$ rbenv install
$ gem install bundler
$ bundle install

Development

Fire up

$ bin/middleman server

and then check out the site at localhost:4567.

Testing

You can run:

$ bin/rake jasmine

Then check out localhost:8888 to see the results of the Jasmine specs.

Deployment

This project uses Travis CI to run CICD. 😎

Adding Cards

To add cards to your collection:

$ bin/rake collection:edit

There are other useful Rake tasks for building out and adding to collection.json, so check them out!

Caveats

If your directory is dirty, git stash before deploying.

If Rake complains about there already being an origin remote, remove the build directory in its entirety.

Configuration

After launching the development server, navigate to localhost:4567/__middleman/config for documentation on configuring Middleman. You should not have to relaunch the server after making changes to config.rb.

License

See LICENSE for details. Hearthstone is © Blizzard Entertainment.

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.