Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/holochain/fed-wiki
https://github.com/holochain/fed-wiki
Last synced: 5 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/holochain/fed-wiki
- Owner: holochain
- Archived: true
- Created: 2018-01-30T10:18:47.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-07-17T12:46:32.000Z (over 6 years ago)
- Last Synced: 2024-08-01T12:32:33.123Z (3 months ago)
- Language: JavaScript
- Size: 126 KB
- Stars: 9
- Watchers: 9
- Forks: 4
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-starred - holochain/fed-wiki - (others)
README
# Liquid Wiki
Federated Wiki on Holochain
## To link in this instance with fed-wiki
You will have to also run the fed-wiki proxy... https://github.com/Connoropolous/holochain-fed-wiki-proxy
## Development
Issue: Holochain caches the ui, so it needs to be restarted to get ui updates. For more rapid development, we have some solutions.
To use browsersync for 'live reloading' of assets and html:
`npm install` (Just once. Assuming you have Node.JS installed.)
`npm start`
This starts 2 servers:
- the holochain application
- browsersync as proxy server, serving from the holo app, and serving the 'static' assets directoryAnd it watches the ui files. When you update static assets (i.e. css or js), the change is detected and browsersync inserts the updated assets into our proxy'd view. When you update HTML, the holochain app is restarted, then (after a 1 second pause) browsersync reloads it in the browser.
It also watches and builds the JS in ui-src, using webpack. This is where coffeescript libraries from the wiki-client module get imported. This generates bundle.js.
For auto-restarting without browsersync: [check out for how to use the restart.sh file][autorestart].
[autorestart]: https://developer.holochain.org/webserver_auto_restart