Chatangle
Chatangle copied to clipboard
A free, decentralized, global chatroom, powered by the IOTA tangle
Chatangle
A free, decentralized, global chatroom, powered by the IOTA tangle. This must be run in conjunction with the Chatangle Backend.
Usage
You must have a working Chatangle Backend running.
You must set some environment variables before running. These may be set from an IDE.
CHATANGLE_BACKEND_IP=localhost
CHATANGLE_BACKEND_PORT=8008
IS_CHATANGLE_BACKEND_SECURED=false
IS_CHATANGLE_BACKEND_SECURED determines whether the front end connects with the WebSocket protocol, ws, or the Secure WebSocket protocol, wss.
Running in dev mode:
npm run dev
or
npm run start
Serving Over the Web
You must have a working Chatangle Backend running.
You must set some environment variables before running. These may be set from an IDE.
CHATANGLE_BACKEND_IP=localhost
CHATANGLE_BACKEND_PORT=8008
IS_CHATANGLE_BACKEND_SECURED=false
IS_CHATANGLE_BACKEND_SECURED determines whether the front end connects with the WebSocket protocol, ws, or the Secure WebSocket protocol, wss.
To create build files:
npm build
This will generate all needed files in ./dist which may then be served over S3 or any webserver.