General Storage using SuperNodes
* Added gid and uid to websocket (mg_connection) Note: gid = group ID, uid = unique ID. * Replaced old ws msg processing functions with new ones * System functions: - sys_display: Displays in console/terminal - sys_unicast: unicast message to respective ws - sys_broadcast: broadcast message to all ws * Supernode to Users: - broadcast: Sends msg to all ws - groupcast: Sends msg to ws of affilated group - unicast: Sends msg to respective ws *User to Supernode: - forward: Forwards msg from user to supernode ws |
||
|---|---|---|
| app | ||
| logs | ||
| util | ||
| .config | ||
| .gitattributes | ||
| README.md | ||
| start_supernode.sh | ||
SuperNodeStorage
FLO Supernode Storage is a Cloud Storage progam for FLO Dapps
Installation
-
Download or clone the repo:
git clone https://github.com/ranchimall/SuperNodeStorage -
Add a strong <server_password> in
.configfile -
Change other configurations (if needed)
-
Host and publish the domain name or IP with port
Usage
-
Start the app using the following command in terminal. The server WSS will be started and the supernode html-js will be opened in the browser.
./start_supernode.sh -
(Only for first time login) Enter the <server_password> and <private_key> when prompted
The Supernode storage will automatically start
NOTE: The <server_password> and <private_key> will be stored securedly in IndexedDB of the browser
NOTE: Users may add start_supernode to bootup process to automatically start the supernode during boot up