Git Product home page Git Product logo

nc.js's Introduction

NC.js

Setting up a development environment

  1. Download and build STEPNode
> git clone https://github.com/steptools/STEPNode.git
> cd STEPNode
> npm install

  1. Clone NC.js into the same directory that contains the STEPNode directory, E.G.:
> cd ..
> git clone https://github.com/steptools/STEPNode.git
> ls
STEPNode      NC.js

  1. Setting up which model to use

In config.js put the path of the .stpnc file you want to use in the file object under the dir key

"file" : {"dir": "path_to_.stpnc_file"} 

  1. Install Glyphicons
> cd src/client
> cp ~Downloads/fonts ./fonts

  1. Install nodejs packages
> npm install

  1. Making a server

Making a server will build and then start the server

> npm run make

or, to minimize the file sizes

> npm run make-release

  1. Start a server

If a server doesn't need to be rebuilt, this will be faster than making everytime.

> npm start

or to use a specific model and overload the config.js

> npm start -- -f "path_to_.stpnc_file"

nc.js's People

Contributors

williamgrh avatar ian-h-chamberlain avatar sjbeale avatar funnymanpatrick avatar ghemingway avatar cabral450 avatar rennat avatar nicholasfay avatar sam-son avatar uuqv avatar seveibar avatar lphoward avatar wgaggioli avatar

Watchers

James Cloos avatar Sam! Bonfante avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.