Skip to content

Commit 37fe298

Browse files
authored
Update README.md
1 parent c1dc2ce commit 37fe298

File tree

1 file changed

+18
-4
lines changed

1 file changed

+18
-4
lines changed

README.md

+18-4
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,26 @@ This example contains:
1616

1717
Run `npm i` on console to create `node_modules` directory.
1818

19-
## Set Google Maps API key
20-
19+
## How to start
20+
**Note** that this seed project requires **node >=v6.9.0 and npm >=3**.
21+
22+
In order to start the project use:
23+
```bash
24+
$ git clone https://github.com/rafaleal/ng-google-maps-example
25+
$ cd ng-google-maps-example
26+
# install the project's dependencies
27+
$ npm i
28+
```
2129
Replace `'YOUR API KY HERE'` at `src/app/config.ts` by your personal Google Maps API key.
2230

2331
> Guide to get a Google Maps API key [here](https://developers.google.com/maps/documentation/javascript/get-api-key)
2432
25-
## Development server
33+
After replacing the API key use:
2634

27-
Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.
35+
```bash
36+
# watches your files and uses livereload by default run `npm start` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.
37+
$ npm start
38+
# prod build, will output the production application in `dist`
39+
# the produced code can be deployed (rsynced) to a remote server
40+
$ npm run build
41+
```

0 commit comments

Comments
 (0)