• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

TF2Stadium/Frontend: Frontend server component of the TF2Stadium project.

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

TF2Stadium/Frontend

开源软件地址(OpenSource Url):

https://github.com/TF2Stadium/Frontend

开源编程语言(OpenSource Language):

JavaScript 52.5%

开源软件介绍(OpenSource Introduction):

TF2Stadium Frontend

TF2Stadium Frontend is the frontend server component for the TF2Stadium project.

It uses AngularJS as its framework, NPM for package management, webpack for builds, and Karma for testing.

Usage

# Run a dev server at localhost:8080
npm start

# Full production build, in dist/
npm run build
# not-quite-production build (in dist/), but way way faster
npm run build-dev

# Clean up any prior builds
npm run clean

# Run test cases
npm run test
# Run test cases (and try to fix simple issues)
npm run test-browsers

# Style-check the source code
npm run lint
# Style-check the source code (and try to fix simple issues)
npm run lint-fix

Installation

Have git, node, and npm installed, and then follow these steps:

# Download this repository via git
git clone https://github.com/TF2Stadium/Frontend.git
# or download a zip from: https://github.com/TF2Stadium/Frontend/archive/master.zip
# Move to the fetched directory
cd Frontend
# Install dependencies
npm install

VERY IMPORTANT: copy the app.config.template.json to app.config.json and replace the placeholders with your desired values. All the <<ENDPOINT>> templates MUST be filled in. The WebSocket and API endpoints are required. Set sentryDSN to a blank string if you do not want to use Senty.

Development

# Start a new feature branch, based on dev
git checkout -b my-feature dev

# Start a dev server and make your changes
npm start

# Test them, these should pass with 0 issues:
npm run lint
npm run test

# Silly whitespace errors? This can fix most of them:
npm run lint-fix

# Commit your changes
git commit -m "I did some cool stuff"
git push my-github my-feature

License

Source code released under the GPLv3 License (GPLv3).

The assets have a variety of licenses, see src/assets/README.md for their licensing information.




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap