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
+11-11Lines changed: 11 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,10 +2,10 @@
2
2
3
3
4
4
## Description
5
-
A sample demonstrating how to view a model into web application with the Autodesk View & Data API. This web application has a basic Node.js server and JavaScript/HTML5 client. This sample does not demonstrate how to upload a model ont he Autodesk server for translation.
5
+
A sample demonstrating how to view a model in a web application with the Autodesk View & Data API. This web application has a basic Node.js server and JavaScript/HTML5 client. This sample does not demonstrate how to upload a model to the Autodesk server for translation.
6
6
7
7
## Dependencies
8
-
Install Node.js on your machine and clone this repo. Download the project' dependencies using npm before running the app by running the following command
8
+
Install Node.js on your machine and clone this repo. Download the project dependencies using npm before running the app by running the following command
9
9
```
10
10
npm install
11
11
```
@@ -14,19 +14,19 @@ on the node.js console. This will install the following node.js modules in the p
14
14
- request
15
15
- serve-favicon
16
16
17
-
This sample does not includes the workflow of uploading models. It depends on other workflow samples to upload models, get model URN. Please follow Setup/Usage Instructions.
17
+
This sample does not include the workflow of uploading models. It depends on other workflow samples to upload models and get model URNs - as explained in the Setup/Usage Instructions.
18
18
19
19
## Setup/Usage Instructions
20
-
Use your own credentials and upload models on your account
20
+
Use your own credentials to upload models to your account
21
21
22
-
* Apply your own credentials from [http://developer.autodesk.com](http://developer.autodesk.com)
23
-
* Replace the place holder with your own keys in credentials.js, line #23 and #25 <br />
22
+
* Apply for your own credentials (API keys) from [http://developer.autodesk.com](http://developer.autodesk.com)
23
+
* Replace the placeholder with your own keys in credentials.js, line #23 and #25 <br />
24
24
```
25
25
credentials.ClientId = '<replace with clientId>';
26
26
27
27
credentials.ClientSecret = '<replace with clientSecret>';
28
28
```
29
-
* Upload one of your model in your account and get its URN using other workflow sample, for example,
29
+
* Upload one of your models to your account and get its URN using another workflow sample, for example,
30
30
-[this workflow sample in .net winform application](https://github.com/Developer-Autodesk/workflow-dotnet-winform-view.and.data.api/) if you are using windows
31
31
- or [this workflow sample in Mac OS Swift](https://github.com/Developer-Autodesk/workflow-macos-swift-view.and.data.api) if you are using Mac
32
32
- or this [WEB page](http://javalmvwalkthrough-vq2mmximxb.elasticbeanstalk.com/)
@@ -41,7 +41,7 @@ Use your own credentials and upload models on your account
41
41
* Connect to you local server using a WebGL-compatible browser: [http://localhost:3000/](http://localhost:3000/)
42
42
43
43
44
-
This sample can also work with the Autodesk staging server (vs production) or work with someone else credentials as long you can get a valid token.
44
+
This sample can also work with the Autodesk staging server (vs production) or work with someone else's credentials as long you can get a valid token.
45
45
By default, the project is setup with the production server, and use your own credentials. If you are interested by a different setup, see the Options below.
46
46
47
47
## Options
@@ -60,18 +60,18 @@ You can work with production or staging Autodesk View and Data environments. By
60
60
```
61
61
node server.js
62
62
```
63
-
* Connect to you local server using a WebGL-compatible browser: [http://localhost:3000/](http://localhost:3000/)
63
+
* Connect to your local server using a WebGL-compatible browser: [http://localhost:3000/](http://localhost:3000/)
64
64
65
65
66
-
### Option B: To work with the staging environment, you need to use your own credential vs the option above.
66
+
### Option B: To work with the staging environment, you need to use your own credentials vs the option above.
67
67
* Apply your own credentials from [http://developer-stg.autodesk.com](http://developer-stg.autodesk.com)
68
68
* Replace the place holder with your own keys in credentials-stg.js, line #23 and #25 <br />
69
69
```
70
70
credentials.ClientId = '<replace with clientId>';
71
71
72
72
credentials.ClientSecret = '<replace with clientSecret>';
73
73
```
74
-
* Upload one of your model in your account and get its URN using other workflow sample,for example,
74
+
* Upload one of your models to your account and get its URN using another workflow sample,for example,
75
75
-[this workflow sample in .net winform application](https://github.com/Developer-Autodesk/workflow-dotnet-winform-view.and.data.api/) if you are using windows
76
76
- or [this workflow sample in Mac OS Swift](https://github.com/Developer-Autodesk/workflow-macos-swift-view.and.data.api) if you are using Mac <br />
77
77
But please use [staging URL](https://developer-stg.api.autodesk.com) to proceed with the workflows.
0 commit comments