Skip to content

Commit 01cfab9

Browse files
committed
Updated readme
1 parent 454e3ac commit 01cfab9

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

README.md

+21
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,27 @@
22
[![npm](https://img.shields.io/npm/v/http-server.svg?style=flat-square)](https://www.npmjs.com/package/http-server) [![homebrew](https://img.shields.io/homebrew/v/http-server?style=flat-square)](https://formulae.brew.sh/formula/http-server) [![npm downloads](https://img.shields.io/npm/dm/http-server?color=blue&label=npm%20downloads&style=flat-square)](https://www.npmjs.com/package/http-server)
33
[![license](https://img.shields.io/github/license/http-party/http-server.svg?style=flat-square)](https://github.com/http-party/http-server)
44

5+
# This fork of http-server has changes pulled to allow Unity to be served
6+
7+
1. Clone this repo to a new folder on the server
8+
9+
e.g. git clone https://github.com/UCL-VR/http-server.git pipelines-similarity
10+
11+
12+
2. Navigate into the folder and delete package-lock.json
13+
14+
3. initilalise
15+
16+
npm i
17+
18+
3. Start and save the process on an appropraite port
19+
20+
pm2 start ./bin/http-server --name "pipelines-similarity" -- -p 8004 -g -c-1
21+
22+
pm2 save
23+
24+
25+
526
# http-server: a simple static HTTP server
627

728
`http-server` is a simple, zero-configuration command-line static HTTP server. It is powerful enough for production usage, but it's simple and hackable enough to be used for testing, local development and learning.

0 commit comments

Comments
 (0)