Skip to content

Investigations into Simulation Runtimes Distribution

License

Notifications You must be signed in to change notification settings

ptrdo/distribution

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is pre-release software.

Demo of Simulations Runtime Distribution

The purpose of this demonstration is to explore possibilities of charting Simulation Runtimes. Run this demonstration in a web browser. A web server (or localhost) is required for demonstrating complete functionality. The code here references dependencies via a relative path, so it is recommended to run this entire repository intact. See below for instructions.


A prototype.


Running this Demo

This example demonstrates integration into a minimal ES6-compliant project bundled by the Webpack library. An enclosed package.json designates all dependencies required for running the demonstration. Note: This example may not work as expected in the Internet Explorer browser.

The data files used here were captured from a cache and massaged as needed. No REST API is currently available to request this data directly.

NodeJS is a technology which can execute scripts on a computer. In this application, NodeJS fasciliates the Webpack framework in assembling the various ingredients of the Client code, preparing them for deployment to a browser. It will be necessary to install NodeJS to run these examples.

The Node Package Manager (NPM) is installed as a component of NodeJS and is a popular means for executing the package.json of a project.

1: From a command prompt, navigate to the project path where the clone of this repository is installed. A package.json file should exist at this path.

> cd C:\path\to\this\project\folder

2: From a command prompt, run the NPM install command to get the dependencies as prescribed in the package.json file. This will create a path local to this project \node_modules for deposit of the downloaded code. There may be a considerable number of dependencies, so this process could take a minute or so.

> npm install

3: From a command prompt, run the NPM start command which has been configured in the webpack.config.js to instruct Webpack to survey the dependencies prescribed in the project code and then compile the bundled JavaScript.

> npm start

4: Open a browser and navigate to http://localhost:8081 to view the deployed code. Note: If this does not work, there may be a conflict with other processes, so the 8081 port can be changed by configuring the devServer in webpack.config.js.

About

Investigations into Simulation Runtimes Distribution

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages