Skip to content

herotc/shadowlands.herodamage.com

Repository files navigation

shadowlands.herodamage.com

Shadowlands version of HeroDamage.

This website was created in order to serve Rogue Theorycrafting Resources and Simulation results before being extended to every classes. Simulations are powered by SimcScripts.

Quick Start

Prerequisites

Make sure to have the Node.js version referenced in the package.json (engines key) installed.

If you use NVM (Node Version Manager) which is the recommended way to have Node.js installed, you can just do:

nvm use

And it will use the correct version (under the hood, it does use the .nvmrc file)

Also, make sure to have the latest stable version of the package manager of your choice (npm or yarn).
For the rest of this quick start, we will use npm, and this is the package manager used by this project.

Installation

You can then install all the dependencies with:

npm install

Development Server

Then you can run the development server with:

npm run develop

You can now go to http://localhost:8000/ to preview the changes.
There is also GraphiQL, an in-browser IDE, available at http://localhost:8000/___graphql to help building the GraphQL queries.

Production Build

If you want to see what the production build would looks like, you can with:

npm run build

Then check the public folder.

In addition, if you want to see the result in the browser, you can do:

npm run serve

Contributing

This project follows StandardJS coding style using ESLint linter.
The main dependency is GatsbyJS that does use React, GraphQL, webpack and Babel.
We also use LinguiJS, styled-components and material-ui.
Make sure to have the corresponding plugins (if available) in your IDE for a better support of those.

Contributors