itsdouges / armory-app

🛡 Guild Wars 2 Armory | gw2armory.com
https://gw2armory.com
BSD 3-Clause Clear License
72 stars 22 forks source link
armory embeddables embeds es2015 es6 flow guild guildwars2 gw2 gw2aembed javascript progressive-web-app react reactjs redux

Guild Wars 2 Armory

Build Status Dependencies Dev Dependencies codecov Discord

Guild Wars 2 Armory is an easy way to find, view, and share users, characters, and guilds with your friends on your mobile and PC! Join today and start sharing!

Quick Start

git clone https://github.com/madou/armory-app.git
cd armory-app
yarn install # See https://yarnpkg.com/lang/en/docs/install/
cp src/config/local.sample.js src/config/local.js # local.js isn't checked in so you'll have to make one yourself.

Testing

Run tdd for unit tests.

npm run tdd

Run dev for development and start for production.

Website

npm run dev
npm start

Embeds

Run dev:embeds for development and start:embeds for production.

npm run dev:embeds
npm run start:embeds

Notes for Local Development

Deployments

To gw2armory.com

When a tagged commit is found a release to production is triggered in Travis.

To get a tagged commit run the following command in master:

npm version major|minor|patch

This will increment the version, update CHANGELOG.md (anything under Unreleased will be moved to a version), and push commits/tags to git.

To preview.gw2armory.com

Standard npm version is used for deployments.

Redux Dev Tools

Enabled in dev mode only, go install the extension and then open it while running the armory locally.

Pull Requests

Feel like contributing? Look at the issues tab (or below in quick issues), or contact me on twitter for help to find something you'd like to work on. Make a pull request against master when you're ready to share your code!

Quick Issues

© 2015-present gw2armory.com