Client
This documents describes how to install and run the client.
Installing
You will need to do the following things to install the client:
- Install Visual Studio Code (VS Code).
- Install Node (LTS).
- Clone this repository if you haven't done so already.
- Open the project folder in VS Code.
- Open the integrated terminal by pressing
ctrl+ö
. - Type the following commands (or simply paste them) into your terminal:
# Go into the client directory.
cd client
# Install all dependencies.
npm install
Using
After you have done every step described in setup, you are ready to start the client.
To see the tasks described in the following steps, press ctrl+shift+b
.
Starting
Start the server by running the Start client
task.
Testing
Run the client tests running the Test client
task.
After it has finished, you can view a coverage report.
This is done by running the Open client coverage
task.
Adding and removing new modules
All of the following snippets assume you are in the client
folder.
Installing new module:
npm install <module>
Uninstalling module:
npm uninstall <module>
Whenever a new module is installed, commited and pushed to git, everyone else needs to run npm install
after pulling to install it as well.