This project was carried out by eight students at Linköping University as a part of our Bachelor project and is licensed under MIT.
The purpose of the server is to run a deepstream server that is handling all the data being sent from and to the UI, Controller and Service.
Technically this is a general purpose deepstream server, but it was mainly used as a part of the IoT party game.
In order to run the game for this project the user need four different repositories which are listed below:
- Server - This runs the deepstream server that handles the network connections.
- UI - This hosts the Javascript files for the UI.
- Controller - This hosts the Javascript files for the Controller.
- Services - This hosts services that handles all instances that are currently running, this makes it possible to run multiple instances of the UI.
The corresponing setup is described in their respective GitHub repositories.
The instructions will be using yarn as package manager. See npm vs yarn cheat sheet for npm equivalents.
To download and install all the Javascript packages run these commands in your prefered terminal:
git clone [email protected]:TDDD96-PUM-Grupp1/server.git
yarn
If you cannot use ssh to clone the repository you can use the https command instead:
git clone https://github.com/TDDD96-PUM-Grupp1/server.git
yarn
Now that you have the Server and all the needed packages you can host the deepstream server by running the following command:
yarn start