Skip to content

Commit

Permalink
added stesp to use
Browse files Browse the repository at this point in the history
  • Loading branch information
NileshPatel17 committed Nov 10, 2019
1 parent 78f1648 commit 82b32a8
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,25 @@
[![Build Status](https://travis-ci.org/ngx-builders/netlify-builder.svg?branch=master)](https://travis-ci.org/nitishk72/netlify-builder)
[![All Contributors](https://img.shields.io/badge/all_contributors-5-orange.svg?style=flat-square)](#contributors)

## **Deploy your Angular app to Netlify directly from the Angular CLI! 🚀**
### Pre-requisites
- Angular project created via [Angular CLI](https://github.com/angular/angular-cli) v8.3.0 or greater.

### Steps:
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
![Screenshot](screenshots/step-1.png)
2. run ```ng deploy``` assuming that you have [Angular CLI](https://github.com/angular/angular-cli) installed globally

OR

add below script to ```package.json```
```
"deploy":"ng deploy"
```

![Screenshot](screenshots/step-2.png)


# Netlify Builder demo


Expand Down
Binary file added screenshots/step-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added screenshots/step-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 82b32a8

Please sign in to comment.