Skip to content

Commit 23fb286

Browse files
authored
update readme
1 parent 01aee3f commit 23fb286

File tree

1 file changed

+31
-1
lines changed

1 file changed

+31
-1
lines changed

README.md

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ Table of Content:
2020
* [Events](#events)
2121
* [Configuration](#configuration)
2222
* [Server-side setup](#server_setup)
23+
* [Building](#building)
2324

2425
## Upload
2526
<kbd>
@@ -209,4 +210,33 @@ For every request, you can confirm reception in HTTP status codes (can be change
209210

210211
* `200`: The chunk was accepted and correct. No need to re-upload.
211212
* `400`, `404`, `405`, `415`, `501`: The file for which the chunk was uploaded is not supported, cancel the entire upload.
212-
* _Anything else_: Something went wrong, but try reuploading the file.
213+
* _Anything else_: Something went wrong, but try reuploading the file.
214+
215+
## Building <a name="building"></a>
216+
217+
In order to build Angular Material Datatransfer, ensure that you have [Git](https://git-scm.com/downloads) and [Node.js](https://nodejs.org/) installed.
218+
219+
Clone a copy of the repo:
220+
221+
```bash
222+
git clone https://github.com/niklr/angular-material-datatransfer.git
223+
```
224+
225+
Change to the angular-material-datatransfer directory:
226+
227+
```bash
228+
cd angular-material-datatransfer
229+
```
230+
231+
Install dependencies:
232+
233+
```bash
234+
npm install
235+
```
236+
237+
Use one of the following to build:
238+
239+
```
240+
npm run build # Builds into dist
241+
npm run start # Starts the webpack-dev-server + watching for changes
242+
```

0 commit comments

Comments
 (0)