Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
DanWahlin committed May 20, 2023
1 parent 67f8484 commit 302362b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,14 @@ Looking for expert onsite Angular/TypeScript training? We've trained the biggest

1. Run `npm install` to install app dependencies

1. Run `ng build --watch` to build and bundle the code
1. Run `ng build angular-jumpstart --watch` to build and bundle the code

1. Run `npm start` in a separate terminal window to launch the web and RESTful API server

1. Go to http://localhost:8080 in your browser

NOTE: You'll need to supply your own Google Maps API key in the `shared/map.component.ts` file to see a map. Update `https://maps.googleapis.com/maps/api/js?key=YOUR_API_KEY` with your key.

Simply clone the project or download and extract the .zip to get started.

Once the app is running you can play around with editing customers after you login. Use any email address and any password that's at least 6 characters long (with 1 digit).
Expand Down
2 changes: 1 addition & 1 deletion src/app/shared/map/map.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ export class MapComponent implements OnInit, AfterContentInit {
mapsScript.type = 'text/javascript';
mapsScript.async = true;
mapsScript.defer = true;
mapsScript.src = 'https://maps.googleapis.com/maps/api/js?key=AIzaSyCG1KDldeF_2GzaTXrEHR0l6cyCS7AnmBw';
mapsScript.src = 'https://maps.googleapis.com/maps/api/js?key=';
mapsScript.onload = () => {
this.loadingScript = false;
if (this.isEnabled) { this.renderMap(); }
Expand Down

0 comments on commit 302362b

Please sign in to comment.