- Notifications
You must be signed in to change notification settings - Fork4
Find Twitch, Mixer, and Xbox recorded by the players you encounter in Destiny 2.
License
chrisfried/guardian-theater-ng2
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This project was generated withangular-cli version 1.0.0-beta.24.
You'll need:
- NodeJS installed locally, I recommend usingnvm and installing the latest lts using
nvm install --lts
. - OpenSSL cli tool
- API Key from Bungiehttps://www.bungie.net/en/Application
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.
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.
Runnpm run ng generate component component-name
to generate a new component. You can also useng generate directive/pipe/service/class/module
.
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.
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.
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.
Runnpm run ngh
to deploy to Github Pages.
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
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Contributors3
Uh oh!
There was an error while loading.Please reload this page.