Digitaltinw provides - your own digital avatar (identity server) - private file browser - chatting - publishing platform for wikis and websites
- Main server and publishing functionalities (this repo)
- publish wikis and websites from
~/.publisher/publishdirectory
- publish wikis and websites from
- Filebrowser, chatting, digital avatar
- Backend digitaltwin-lib installed as a dependency
- Frontend twin_aydo built and installed using publishtools as indicated below
- Install publishtools
- we need to run
publishtoolscommand from a directory containing a config filesites.json. if you don't have this config file create a new one with the following content (The digitaltwin frontend)[{ "name": "twin_aydo", "url": "https://github.com/threefoldtech/twin_aydo", "branch": "", "pull": false, "reset": false, "cat": 2, "shortname": "twin", "path_code": "", "domains": ["mydigitaltwin.io", "www.mydigitaltwin.io"], "descr": "you digital life", "groups": [], "acl": [], "trackingid": "", "opengraph": { "title": "", "description": "", "url": "", "type_": "article", "image": "", "image_width": "1200", "image_height": "630" } }] publishtools installInit publishtoolspublishtools build --pathprefixbuild thewww_threefold_twinor thedigitaltwinfrontend website- By default the publisher will serve websites from
~/.publisher/publishdirectory that says that when u build a website/wiki, the build will be saved in this direcoty. publishtools publish_config_saveSave the config file you are using in~/.publisher/sites.json
publishtools developRun publishtools (required now to get wikis from)node serverdev modeNODE_ENV=production SERET=mysecret THREEBOT_PHRASE="my threebot phrase" node serverproduction without ssl handling (ssl offloading)NODE_ENV=production SERET=mysecret ENABLE_SSL=true THREEBOT_PHRASE="my threebot phrase" node serverproduction with (ssl)