This is the main Node.js server application for running Blockland Glass' Glass Live service.
You must have the following installed:
- Node.js
- MongoDB
At this current time, Glass Live will not automatically create the database for you.
The MongoDB instance must have a database named glassLive and an empty collection named users under it.
- Ensure the MongoDB instance is online and the database format has been manually created as mentioned above.
- Copy
config.json.defaultin the root directory and rename it toconfig.json(same location). - Open the renamed
config.jsonand edit the details to match your Glass website and database setup. - Run
index.jsto launch the Glass Live server.
You can now create a dev/config.json file in your Blockland Glass client directory and connect to your Glass Live server.
Example config.json below:
{
"address": "localhost",
"netAddress": "localhost",
"liveAddress": "localhost",
"livePort": 27002,
"debug": false
}