Skip to content

Commit

Permalink
Update braid-text readme
Browse files Browse the repository at this point in the history
  • Loading branch information
toomim authored May 20, 2024
1 parent ac30a4f commit c0e8669
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions braid-text-server/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,21 +34,21 @@ server.on("request", (req, res) => {

## Run the Demo

This demo will run a collaboratively-editable wiki:
This will run a collaboratively-editable wiki:

```shell
npm install
node server-demo.js
```

Now you can open these URLs in browser:
Now open these URLs in your browser:
- http://localhost:8888/demo (to see the demo text)
- http://localhost:8888/demo?editor (to edit the text)
- http://localhost:8888/demo?markdown-editor (to edit it as markdown)

Or try opening the URL in [Braid-Chrome](https://github.com/braid-org/braid-chrome), or another Braid client, to edit it directly!

Check out the `server-demo.js` file to see examples for how to add access control, and a `/pages` endpoint to show all the currently used `key`s.
Check out the `server-demo.js` file to see examples for how to add access control, and a `/pages` endpoint to show all the edited pages.

## API

Expand Down

0 comments on commit c0e8669

Please sign in to comment.