armory-app

? Guild Wars 2 Armory | gw2armory.com

Github星跟踪图

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

  • When locally make sure you add a local.js to the src/env/ folder. Look at local.sample.js for help. This isn't checked in deliberately so we can play with local settings without affecting git history.
  • If needed you can get the api over at armory-back. You will have to update your config/local.js to point to localhost if running the api locally.
  • We use pre-commit to run commands before checking in. This will run npm test which covers linting, flow errors, and tests.

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

主要指标

概览
名称与所有者itsdouges/armory-app
主编程语言JavaScript
编程语言JavaScript (语言数: 5)
平台
许可证BSD 3-Clause Clear License
所有者活动
创建于2016-07-31 10:10:57
推送于2018-10-28 21:03:50
最后一次提交2018-10-29 08:03:14
发布数114
最新版本名称v5.1.3 (发布于 2018-10-29 08:03:35)
第一版名称v4.10.0 (发布于 2017-03-27 14:00:12)
用户参与
星数72
关注者数5
派生数22
提交数1.4k
已启用问题?
问题数237
打开的问题数55
拉请求数113
打开的拉请求数0
关闭的拉请求数4
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?