Skip to content

Commit bdc60e8

Browse files
Merge pull request #51 from NileshPatel17/docs/readme
readme: added step to use
2 parents 78f1648 + 82b32a8 commit bdc60e8

File tree

3 files changed

+20
-0
lines changed

3 files changed

+20
-0
lines changed

README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,25 @@
11
[![Build Status](https://travis-ci.org/ngx-builders/netlify-builder.svg?branch=master)](https://travis-ci.org/nitishk72/netlify-builder)
22
[![All Contributors](https://img.shields.io/badge/all_contributors-5-orange.svg?style=flat-square)](#contributors)
3+
4+
## **Deploy your Angular app to Netlify directly from the Angular CLI! 🚀**
5+
### Pre-requisites
6+
- Angular project created via [Angular CLI](https://github.com/angular/angular-cli) v8.3.0 or greater.
7+
8+
### Steps:
9+
1. run ```ng add @netlify-builder/deploy``` to add necessary dependencies. Once, it get installed,you will be prompted to enter (a) Site Id and (b) netlfy Token
10+
![Screenshot](screenshots/step-1.png)
11+
2. run ```ng deploy``` assuming that you have [Angular CLI](https://github.com/angular/angular-cli) installed globally
12+
13+
OR
14+
15+
add below script to ```package.json```
16+
```
17+
"deploy":"ng deploy"
18+
```
19+
20+
![Screenshot](screenshots/step-2.png)
21+
22+
323
# Netlify Builder demo
424

525

screenshots/step-1.png

95.6 KB
Loading

screenshots/step-2.png

54.1 KB
Loading

0 commit comments

Comments
 (0)