Giter VIP home page Giter VIP logo

duraark-system's Introduction

#duraark

Holds the container definitions and system topolgy. Generated and managed by nscale.

overview

The following files are used by nscale for system management.

system.js

exports.name = 'nscaledemo';
exports.namespace = 'nscaledemo';
exports.id = 'e1144711-47bb-5931-9117-94f01dd20f6f';

exports.topology = {
  development: {
    root: ['web']
  }
};

Defines the system namespace, name and id. Also defines a simple topology for local deployment.

definitions/services.js

exports.root = {
    type: 'blank-container'
};

exports.web = {
  type: 'docker',
  specific: {
      repositoryUrl: '[email protected]:nearform/nscaledemoweb.git',
      execute: {
          args: '-p 8000:8000 -d',
          exec: '/usr/bin/node index.js'
      }
    }
};

Defines a root container and a web container to hold the hello world application.

generated files

The <environment>.json contains the compiled system definition, build from system.js and related files, for the environment. In this example it will produce only development.json, to add more add siblings to the development key in system.js.

configuration file

The project includes a config.example.js file for you to customize. Rename it as config.js to let nscale load it.

cp config.example.js config.js

The config.js will not be committed, as it is included in the .gitignore. We recommend you to ignore also your key and pem files, so that they are not included in the git repository.

duraark-system's People

Watchers

 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.