{"id":20382656,"url":"https://github.com/autodesk-forge/viewer-steampunked-morgan","last_synced_at":"2025-04-12T08:54:02.738Z","repository":{"id":18704223,"uuid":"21914619","full_name":"Autodesk-Forge/viewer-steampunked-morgan","owner":"Autodesk-Forge","description":"Morgan 3 wheeler interactive viewer: Displays Morgan 3 Wheeler model using Forge Viewer","archived":false,"fork":false,"pushed_at":"2022-12-11T00:28:38.000Z","size":3205,"stargazers_count":5,"open_issues_count":5,"forks_count":7,"subscribers_count":28,"default_branch":"master","last_synced_at":"2025-04-12T08:53:58.004Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://autode.sk/m3w","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Autodesk-Forge.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-07-16T19:44:54.000Z","updated_at":"2019-08-01T21:46:37.000Z","dependencies_parsed_at":"2023-01-11T20:29:37.620Z","dependency_job_id":null,"html_url":"https://github.com/Autodesk-Forge/viewer-steampunked-morgan","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Autodesk-Forge%2Fviewer-steampunked-morgan","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Autodesk-Forge%2Fviewer-steampunked-morgan/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Autodesk-Forge%2Fviewer-steampunked-morgan/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Autodesk-Forge%2Fviewer-steampunked-morgan/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Autodesk-Forge","download_url":"https://codeload.github.com/Autodesk-Forge/viewer-steampunked-morgan/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248543882,"owners_count":21121838,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-15T02:18:30.389Z","updated_at":"2025-04-12T08:54:02.718Z","avatar_url":"https://github.com/Autodesk-Forge.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Steampunk Morgan 3 Wheeler Forge Viewer sample\n\n[![Node.js](https://img.shields.io/badge/Node.js-5.11.1-blue.svg)](https://nodejs.org/)\n[![npm](https://img.shields.io/badge/npm-3.9.3-blue.svg)](https://www.npmjs.com/)\n[![Viewer](https://img.shields.io/badge/Forge%20Viewer-v7.1-green.svg)](http://developer-autodesk.github.io/)\n![Platforms](https://img.shields.io/badge/platform-windows%20%7C%20osx%20%7C%20linux-lightgray.svg)\n[![License](http://img.shields.io/:license-mit-blue.svg)](http://opensource.org/licenses/MIT)\n\n## Description\n\nPlease refer to https://www.keanw.com/2014/07/my-first-autodesk-360-viewer-sample.html\nfor the backroud story fo this sample.\n\nLive demo at: https://autode.sk/m3w\n\n## Dependencies\n\nThis sample is dependent on the server part on Node.js and couple of Node.js extensions\nwhich would update/install automatically via 'npm':\n\n* Node.js\n\n  Node.js - built on Chrome's JavaScript runtime for easily building fast, scalable network applications.\n  You need at least version v5.11.1. You can get Node.js from [here](http://nodejs.org/)\u003cbr /\u003e\u003cbr /\u003e\n  Node.js modules:\n  ```\n  \"express\": \"^4.13.4\",\n  \"morgan\": \"^1.7.0\",\n  \"request\": \"^2.72.0\"\n  ```\n\n\n## Setup Instructions\n\nThe sample was created using Node.js and javascript.\nThere is 3 methods to deploy/configure this project:\n\n### 1. Deploy on Heroku\n\n[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy)\n\nOnce the Heroku server is setup, go on your Heroku Dashboard, select this new server, next Settings, and press the\n'Reveal Config Vars.' button.\n\nCreate 3 variables like this:\n\na. PORT = 80\n\nb. CONSUMERKEY = \u0026lt;your consumer key\u0026gt;\n\nc. CONSUMERSECRET = \u0026lt;your consumer secret\u0026gt;\n\nNext restart the server.\n\n\n### 2. Deploy on your server using environment variables (preferred method)\n\n1. Clone this repo on your server (or local machine),\n\n2. Go in your project directory and execute\n   ```\n   npm install\n   ```\n   Define a CONSUMERKEY and CONSUMERSECRET system variables from the console or script which will launch the\n   server.\u003cbr /\u003e\n   * Windows\u003cbr /\u003e\n   ```\n   set CONSUMERKEY=xxx\n\n   set CONSUMERSECRET=xxx\n   ```\n   * OSX/Linux\u003cbr /\u003e\n   ```\n   export CONSUMERKEY xxx\n\n   export CONSUMERSECRET xxx\n   ```\n   or passing on the command line to the Node.js process\u003cbr /\u003e\n   ```\n   sudo [PORT=\u003cport\u003e] CONSUMERKEY=xxx CONSUMERSECRET=xxx node start.js\n   ```\n   \u003cbr /\u003e\n   Replace keys placeholder xxx with your own keys.\n\n3. You are done for the setup, launch the node server using the command '[sudo] node start.js'.\n   sudo is required only on OSX and Linux.\u003cbr /\u003e\n   * Windows\u003cbr /\u003e\n   ```\n   [set PORT=\u003cport\u003e]\n   node start.js\n   ```\n   * OSX/Linux\u003cbr /\u003e\n   ```\n   sudo [PORT=\u003cport\u003e] node server.js\n   ```\n   \u003cbr /\u003e\n   \u003cb\u003eNote:\u003c/b\u003e the port argument can be omitted and default to port 5000. If port 80 is already in use by another\n   application (like Skype, or IIS, or Apache, ...), you can use any other free port such as 8000, 3000, etc...\n   But in the next section you would need to specify the port to use, i.e. http://localhost[:port]/\n\n\n### 3. Deploy on your server modifying the source code (make sure the files never go public to not compromise your keys)\n\n1. Clone this repo on your server (or local machine),\n\n2. Go in your project directory and edit the api.js file.\n   Put your CONSUMERKEY and CONSUMERSECRET keys onto the placeholders line #19 and #20.\n\n3. You are done for the setup, launch the node server using the command '[sudo] node server.js'.\n   sudo is required only on OSX and Linux.\u003cbr /\u003e\n   * Windows\u003cbr /\u003e\n   ```\n   [set PORT=\u003cport\u003e]\n   node server.js\n   ```\n   * OSX/Linux\u003cbr /\u003e\n   ```\n   sudo [PORT=\u003cport\u003e] node server.js\n   ```\n   \u003cbr /\u003e\n   \u003cb\u003eNote:\u003c/b\u003e the port argument can be omitted and default to port 5000. If port 80 is already in use by another\n   application (like Skype, or IIS, or Apache, ...), you can use any other free port such as 8000, 3000, etc...\n   But in the next section you would need to specify the port to use, i.e. http://localhost[:port]/\n\n### Thumbnail\n\n![thumbnail](/thumbnail.png)\n\n--------\n\n## License\n\nThis sample is licensed under the terms of the [MIT License](http://opensource.org/licenses/MIT). Please see the [LICENSE](LICENSE) file for full details.\n\n## Written by\n\nKean Walmsley (Autodesk) \u003cbr /\u003e\nhttp://through-the-interface.typepad.com/through_the_interface/ \u003cbr /\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fautodesk-forge%2Fviewer-steampunked-morgan","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fautodesk-forge%2Fviewer-steampunked-morgan","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fautodesk-forge%2Fviewer-steampunked-morgan/lists"}