This repository was archived by the owner on Oct 13, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Installation Guide
C9 edited this page Jun 28, 2019
·
13 revisions
In order to get started quickly, you need to follow these steps:
- Download the source code
- Setup client:
- Build it yourself:
- Install npm using apt package manager:
sudo apt install npm, or directly from the official website - In
src/client, run the instructions below. - The executable program can be found in the
buildfolder
- Install npm using apt package manager:
- Build it yourself:
- Setup server:
- Install Docker
- Go to the
src/serverdirectory. - Build the Docker image using
docker build -t teamcode .
npm install
npm run build
- Run the Docker image generated in the setup section using
docker run- The server runs inside the container and listens on port 12345
- To run the server interactively and map the container port to a host port, run
docker run -itp <host-port>:12345 teamcode) - The server hosts files inside
/app/file_rootin the container. By default, this folder is ephemeral, but it can be mapped to a folder on the host system using docker run's--mountoption, e.g. by adding--mount src=/path/to/host/folder,dst=/app/file_root,type=bindafterdocker runin the previous command.
- Home
- User Guide
-
Developer Documentation
- Client-Server Connection
- Client
- Server
- Motivation & Limitations