Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Find Twitch, Mixer, and Xbox recorded by the players you encounter in Destiny 2.

License

NotificationsYou must be signed in to change notification settings

chrisfried/guardian-theater-ng2

Repository files navigation

This project was generated withangular-cli version 1.0.0-beta.24.

Getting up and running

You'll need:

For the development server to run you must have a certificate it can load. Do so by issuing the following command:

openssl req -new -x509 -newkey rsa:2048 -sha256 -nodes -keyout dev.key -days 3560 -out dev.crt -config docker/ssl/certificate.cnf

You must also create a src/environments/keys.ts file with your key in it. The file looks like this:

export const bungieDev = {  apiKey: '$BUNGIE_DEV_API_KEY',  authUrl: 'https://www.bungie.net/en/OAuth/Authorize',  clientId: '$BUNGIE_DEV_CLIENT_ID',  clientSecret: '$BUNGIE_DEV_CLIENT_SECRET'}export const bungieProd = {  apiKey: '$BUNGIE_PROD_API_KEY',  authUrl: 'https://www.bungie.net/en/OAuth/Authorize',  clientId: '$BUNGIE_PROD_CLIENT_ID',  clientSecret: '$BUNGIE_PROD_CLIENT_SECRET'}

Replace the variables with your own values and save the file.

Last, runnpm install to install all requirements.

Development server

Runnpm start for a dev server. Create a hosts entry fordev.guardian.theater pointing to your localhost. Navigate tohttp://dev.guardian.theater:3000/. The app will automatically reload if you change any of the source files.

Code scaffolding

Runnpm run ng generate component component-name to generate a new component. You can also useng generate directive/pipe/service/class/module.

Build

Runnpm run ng build to build the project. The build artifacts will be stored in thedist/ directory. Use the-prod flag for a production build.

Running unit tests

Runnpm run ng test to execute the unit tests viaKarma.

There are no tests, just boilerplate generated by Angular CLI. If you would like to write tests, you are more than welcome to.

Running end-to-end tests

Runnpm run ng e2e to execute the end-to-end tests viaProtractor.Before running the tests make sure you are serving the app viang serve.

There are no tests, just boilerplate generated by Angular CLI. If you would like to write tests, you are more than welcome to.

Deploying to Github Pages

Runnpm run ngh to deploy to Github Pages.

Further help

To get more help on theangular-cli usenpm ng help or go check out theAngular-CLI README.

About

Find Twitch, Mixer, and Xbox recorded by the players you encounter in Destiny 2.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors3

  •  
  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp