Fix readme files

This commit is contained in:
Denys Vuika 2016-05-26 16:35:24 +01:00
parent d9e81a40a7
commit aaf4828d89
2 changed files with 8 additions and 16 deletions

View File

@ -6,12 +6,15 @@ Install:
npm install
```
Set authentication token value in the `index.html`
Update host and credentials
```html
<script>
localStorage.setItem('token', '<AUTH-TOKEN>');
</script>
**src/main.ts**
```ts
login() {
let host = 'http://192.168.99.100:8080';
let credentials = { "userId": "admin", "password": "admin" };
...
}
```
Run the project:

View File

@ -6,17 +6,6 @@ Install:
npm install
```
Update host and credentials
**src/main.ts**
```ts
login() {
let host = 'http://192.168.99.100:8080';
let credentials = { "userId": "admin", "password": "admin" };
...
}
```
Run the project:
```