Skip to content

Commit

Permalink
Move Browser mode chapter
Browse files Browse the repository at this point in the history
  • Loading branch information
maximegris committed May 5, 2017
1 parent 083498e commit 8818750
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,11 @@ If you need to use NodeJS native libraries like 'fs' or 'os', you **MUST** add i
},
```

## Browser mode

Maybe you want to execute the application in the browser ? You can do it with `npm run start:web`.
Note that you can't use Electron or NodeJS native libraries in this case. Please check `providers/electron.service.ts` to watch how conditional import of electron/Native libraries is done.

## Execute E2E tests

You can find end-to-end tests in /e2e folder.
Expand All @@ -92,7 +97,3 @@ You can now execute tests with the command lines below :
- **in a terminal window** -> First, start a web server on port 4200 : `npm run start:web`
- **in another terminal window** -> Then, execute Protractor : `npm run e2e`

## Browser mode

Maybe you want to execute the application in the browser ? You can do it with `npm run start:web`.
Note that you can't use Electron or NodeJS native libraries in this case. Please check `providers/electron.service.ts` to watch how conditional import of electron/Native libraries is done.

0 comments on commit 8818750

Please sign in to comment.