Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pfrazee/ssb-web-server-demo-app
A quick test/demo app for ssb-web-server
https://github.com/pfrazee/ssb-web-server-demo-app
Last synced: 11 days ago
JSON representation
A quick test/demo app for ssb-web-server
- Host: GitHub
- URL: https://github.com/pfrazee/ssb-web-server-demo-app
- Owner: pfrazee
- Created: 2016-03-09T00:08:30.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-03-11T19:41:08.000Z (almost 9 years ago)
- Last Synced: 2024-10-30T15:54:38.388Z (about 2 months ago)
- Language: JavaScript
- Size: 4.88 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ssb-web-server demo app
This is a small test app for ssb-web-server.
It outputs the ssb feed and has a button for posting a message.## Building
Clone the repo, then run:
```
npm run build
```Or, if you're going to do some development:
```
npm run watch
```Next, link the cloned directory to your ssb www folder:
```
ln -s ~/ssb-web-server-demo-app ~/.ssb/www/demo-app
```And open the app at `http://localhost:7778/demo-app/`.
## Publishing
To publish the app, run:
```
npm run commit
```This will put the bundled app into your blobstore, and emit the hash-id.
You can then open the bundled app at `http://localhost:7778/{hashid}`.To publish the app, post a message including the hash.