This project was generated with Angular CLI version 8.2.1.
To get going:
git clone
npm install
ng serveNavigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.
Install and login with Firebase CLI, if you haven't.
ng build
firebase deploy
To deploy, make sure you are added as a collaborator to our Firebase project techtalk-site. If you don't have access yet, contact Jennifer Wadella.
All data used to populate app is found in "src/data" folder. Update previous talks in previoustalks.ts, update upcoming talks in talks.ts, and team members info in team.ts.
- To activate links for a talk, enable the
areLinksEnabledflag for the talk. - To display next talk's ticket purchasing view:
- Make sure the talk's
eventbriteIFrameLinkis populated - Set the
UPCOMING_TALK_MONTHfor the talk to display using the integer representation for the month (ie 7 for July)
- Make sure the talk's
Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.
Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the -prod flag for a production build.
Run ng test to execute the unit tests via Karma.
TODO: Write tests...
Run ng e2e to execute the end-to-end tests via Protractor.
-
Error using
ngcommandng: command not foundInstall Angular CLI with
npm install -g @angular/cli@latest. Note that if you later switch node version, you'll need to install again for that node version. -
Error during
firebase deployError: Assertion failed: resolving hosting target of a site with no site name or target name. This should have caused an error earlierMake sure your firebase CLI has logged into the correct account that has
techtalk-sitein the projects. -
Error with
opensslopensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ], library: 'digital envelope routines', reason: 'unsupported', code: 'ERR_OSSL_EVP_UNSUPPORTED'Try
export NODE_OPTIONS=--openssl-legacy-provideror try downgrading or upgrading your node version. -
Site is not updated though
firebase deploysucceeds.This might be due to browser caches. Try loading the site in another browser or in incognito mode.
To get more help on the Angular CLI use ng help or go check out the Angular CLI README.