You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-6Lines changed: 4 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,19 +27,17 @@ With the production server, you got 2 options to setup and run this sample.
27
27
28
28
### Option A: Use [upload tool](http://still-spire-1606.herokuapp.com) online service to upload model.
29
29
30
-
* The [upload tool](http://still-spire-1606.herokuapp.com) provides some existing models. Choose any one of them.
31
-
Or upload one of your own models with [upload tool](http://still-spire-1606.herokuapp.com) <br />
32
-
The [upload tool](http://still-spire-1606.herokuapp.com) will generate a URN of the model that you need later.
33
-
* Copy this URN in /www/views/index.js at line #18
30
+
* The [upload tool](http://still-spire-1606.herokuapp.com) provides some existing models. Choose any one of them, or upload one of your own models with [upload tool](http://still-spire-1606.herokuapp.com). The [upload tool](http://still-spire-1606.herokuapp.com) will generate a URN of the model that you need later.
31
+
* Copy this URN in /www/views/index.js at line #18 <br />
34
32
```
35
33
var urnprod = 'your_urn_here';
36
34
```
37
35
* In /www/views/index.js, at line #36, change value of tokenurl to the access token you can generate from 'http://still-spire-1606.herokuapp.com/api/rawtoken'
38
-
* Run the server from the Node.js console, by running the follwing command:
36
+
* Run the server from the Node.js console, by running the follwing command: <br />
39
37
```
40
38
node server.js
41
39
```
42
-
* Connect to server locally using a WebGL-compatible browser: http://localhost:3000/node/basic
40
+
* Connect to server locally using a WebGL-compatible browser: [http://localhost:3000/node/basic](http://localhost:3000/node/basic)
43
41
44
42
Option B: Use your own credentials and upload models on your account
0 commit comments