From 675a7421e7d62151cafe436526afb6b3a83b4595 Mon Sep 17 00:00:00 2001 From: Andre Imbayago Date: Fri, 24 Nov 2023 08:53:44 +0200 Subject: [PATCH 1/2] Added instructions on how to run the project. --- README.md | 43 ++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 42 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index ad2a076..05611a0 100644 --- a/README.md +++ b/README.md @@ -2,4 +2,45 @@ A simple example showing how to setup a 3d scene across windows on the same origin using three.js and localStorage. Code should be self explanatory -follow me on twitter at [@_nonfigurativ_](https://twitter.com/_nonfigurativ_) for more stuff like this \ No newline at end of file +follow me on twitter at [@_nonfigurativ_](https://twitter.com/_nonfigurativ_) for more stuff like this + + + +## HOW TO RUN THE PROJECT + +#### 1) Install http-server globaly: +------------- + +`sudo npm install http-server -g` + + +#### 2) Navigate to the project directory: +------------- + +`cd multipleWindow3dScene` + + +#### 3) Start the local server: +------------- + +`http-server` + + +#### 4) Open the project in your browser: +------------- + +``` + Starting up http-server, serving ./ + Available on: + http://127.0.0.1:8080 + http://10.0.0.227:8080 + http://169.254.109.130:8080 +Hit CTRL-C to stop the server +``` + +#### Online Preview + +You can view the online preview from [this link](https://bgstaal.github.io/multipleWindow3dScene/): + +https://bgstaal.github.io/multipleWindow3dScene/ + From 496cbc6500959af8831dd4ee5bf2e821e58a9cc9 Mon Sep 17 00:00:00 2001 From: Andre Imbayago Date: Fri, 24 Nov 2023 08:54:45 +0200 Subject: [PATCH 2/2] Updated gitignore --- .gitignore | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitignore b/.gitignore index f71cc41..0b5993d 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,6 @@ npm-debug.log *.png .env .DS_Store +package-lock.json +.gitignore +package.json