Installation Instructions

This page describes the installation of node.js and how to install our javascript dependencies using NPM (the Node Package Manager).

Installing Node.JS

You can install node.js by going to https://nodejs.org/en/download/arrow-up-right. Then just make sure to select the LTS version and the correct version for your os and follow the instructions.

circle-info

When the installer asks you to install chocolatey you can deselect it if you like.

You can check for a succesful installation by using the following command which should then give you a version number (either 12.x if using LTS or 14.x if using latest).

node --version

Cloning the repo and installing dependencies

GUI (Gitkraken)

Clone the repository to a folder you like, here you can see that I'm cloning the helpers repository into my farm2 folder.

Now navigate to your directory in a terminal/command line interface and afterwards go to the tab on the top of this page to install your npm packages.

cd /media/selene/Code/Git/farm2/<repo_name>

CLI Cloning

Running the frontend

You can start the frontend using the following command. This will start a webserver that hosts our javascript and watches for changes in the working directory. It should open a webpage in your browser directly but if it doesn't you can open localhost:3000arrow-up-right

Last updated