Skip to content
BZList is an online service providing real-time BZFlag server information
TypeScript HTML CSS JavaScript
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github/workflows Update build.yml Sep 17, 2019
e2e Rename project to bzlist.net Jul 28, 2019
functions Fix server-side rendering Sep 16, 2019
src Add share button to server page Oct 14, 2019
.editorconfig initial commit Jan 22, 2019
.firebaserc Use Firebase as database/backend Apr 17, 2019
.gitignore
.travis.yml Remove cache from Travis Sep 12, 2019
CHANGELOG.md Bump version to 0.7.0 Sep 30, 2019
LICENSE Update README and add LICENSE Mar 22, 2019
README.md Update README.md Sep 22, 2019
angular.json Adjust bundle budgets Aug 30, 2019
browserslist Update to Angular 8 Jul 19, 2019
firebase.json Server side rendering with seo Apr 30, 2019
ngsw-config.json Use ngsw instead of sw-precache Apr 19, 2019
package-lock.json Use custom wrapper for Socket.io Oct 4, 2019
package.json Use custom wrapper for Socket.io Oct 4, 2019
server.js Fix server-side rendering Sep 16, 2019
server.ts Fix server-side rendering Sep 16, 2019
tsconfig.json Clean up code Aug 17, 2019
tslint.json Increase TSLint max line length Sep 30, 2019
webpack.server.config.js Fix server-side rendering Sep 16, 2019

README.md

BZList

GitHub license GitHub package.json version Build Status GitHub Build Status IRC #bzlist

Socket.io + Angular = (kind of) real-time server stats for BZFlag.

The changelog can be found here and the offical site at bzlist.net.

Get started

It's easy to get started, just follow the few steps below.

Get the code

You can get the code by either cloning the reposity (which is recommended) or downloading it as a ZIP file.

To clone the repository run the following (you must have Git installed).

git clone https://github.com/bzlist/bzlist.net.git
cd bzlist.net

The ZIP file can be found at https://github.com/bzlist/bzlist.net/archive/master.zip.

Install npm packages

Install the npm packages and verify everything is working:

npm install

Run!

To see it in action run npm start which builds and compiles the application, watches for changes to source files, and runs the Angular dev server on port 4200. Shut it down with Ctrl+C.

Useful npm scripts

These are the most useful commands defined in package.json:

Command Description
start Runs the TypeScript compiler, asset copier, and dev server all at the same time in "watch mode."
build:prod Runs the TypeScript compiler with optimizations and asset copier once and outputs it into dist/browser.
build:stats && (npm run stats-es5 or stats-2015) Builds the app and generates stats into dist and opens the stats in your browser.
build:gh-pages The same as build:prod and adds the prefix bzlist.net for use with GitHub Pages.
build:ssr Builds with server-side rendering.
deploy:gh-pages Deploys to GitHub Pages.
deploy:firebase Deploys everything configured to Firebase.
deploy:firebase:hosting Deploys dist/browser to Firebase Hosting.
deploy:firebase:ssr Deploys the SSR function to Firebase, deletes dist/browser/index.html and deploys hosting.

Note: If you deploy with server-side renderering you must delete dist/browser/index.html after compiling the ssr function and before deploying to hosting. This is done automatically with npm run deploy:firebase:ssr.

You can’t perform that action at this time.