Skip to content

Commit

Permalink
Instructions with more accurate quickstart and development instructions.
Browse files Browse the repository at this point in the history
* should build if you're just going to run elecrton .
* should alter main.js if you're going to be developing.
  • Loading branch information
dopry committed Mar 8, 2018
1 parent 54175ad commit 4d533cc
Showing 1 changed file with 23 additions and 2 deletions.
25 changes: 23 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ and [Node BACstack](https://github.com/fh1ch/node-bacstack).
![](images/overview.gif)

## Usage
## Quickstart

Start Node BACstack Browser by using:

Expand All @@ -22,13 +22,34 @@ git clone https://github.com/fh1ch/node-bacstack-browser.git

cd node-bacstack-browser
npm i

npm run build
npm start
```

> **Note:** If the application window appears as a blank page, force refresh the
> page using F5 (Windows) or CMD+R (OSX).
## Developing

in main.js switch the loadURL

```js
win.loadURL('http://localhost:4200');

// win.loadURL(url.format({
// pathname: path.join(__dirname, 'dist' , 'index.html'),
// protocol: 'file:',
// slashes: true
// }));
```

then start without building

```
npm i
npm start
```

## Contributing

Any help is appreciated, from creating issues, to contributing documentation,
Expand Down

0 comments on commit 4d533cc

Please sign in to comment.