Node.js Run

How to run Shore frontend locally using node.js

Node.js Installation

If alredy installed this section can be ignored, elsewise follow the instructions in this section.

  1. Go to https://nodejs.org/en/download
  2. Download and setup node.js

In some systems, specially Linux, using a terminal based installation is prefered

If npm is on the path but not node or node is several versions behind: install n globally npm install -g n and upgrade to node latest n latest

Cloning the repository

Go to a folder where you want the frontend folder to be and run:

git clone https://github.com/holt-chat/shore.git
cd shore

Running locally

Once the frontend folder is there you just need to run this:

npm i express open cors
node quickrun.js

This will automatically open the browser on localhost with the frontend running.