Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Pomax committed Aug 10, 2015
1 parent fab9f1e commit 27c6473
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,14 @@ The easiest way to run Bramble is to simply use:
$ npm start
```

This starts an `http-server` session on port 8080 for you to work with.
This starts an `http-server` session on port 8000 for you to work with.

However, if you wish to run your own static server, there are several options available:
* [Apache Webserver](http://www.apache.org/)
* Host on [github pages](https://help.github.com/articles/what-are-github-pages)
* [Python WebServer](https://docs.python.org/2/library/simplehttpserver.html)

Assuming you have Bramble running on port `8080`. Now you can visit [http://localhost:8080/src](http://localhost:8080/src).
Assuming you have Bramble running on port `8000`. Now you can visit [http://localhost:8000/src](http://localhost:8000/src).

NOTE: Bramble expects to be run in an iframe, which hosts its filesystem. For local
development, use `src/hosted.html` instead of `src/index.html`. To see how the remote end
Expand Down Expand Up @@ -115,7 +115,7 @@ extension lists.

## After installation

After you have everything setup, you can now run the server you chose in the root of your local Bramble directory and see it in action by visiting [http://localhost:8080/src](http://localhost:8080/src).
After you have everything setup, you can now run the server you chose in the root of your local Bramble directory and see it in action by visiting [http://localhost:8000/src](http://localhost:8000/src).

# Bramble IFrame API

Expand Down Expand Up @@ -339,4 +339,4 @@ There are also high-level events for changes to files:
* `"fileDelete"` - triggered whenever a file is deleted within the project root. It includes the `filename` of the file that was deleted.
* `"fileRename"` - triggered whenever a file is renamed within the project root. It includes the `oldFilename` and the `newFilename` of the file that was renamed.

NOTE: if you want to receive generic events for file system events, especially events across windows using the same file system, use [fs.watch()](https://github.com/filerjs/filer#watch) instead.
NOTE: if you want to receive generic events for file system events, especially events across windows using the same file system, use [fs.watch()](https://github.com/filerjs/filer#watch) instead.

0 comments on commit 27c6473

Please sign in to comment.