Source code management utilities for atvise
Switch branches/tags
beta-cleanup beta chore-update-server-scripts circleci-parallel-tests dev feat-better-gulp-plugin-integration feat-store-defs feat-store-typedefs fix-create-value fix-dots-in-nodenames fix-force-arrays fix-issue-144 fix-svg-tag-order fix-write-order gh-pages greenkeeper/@atscm/server-scripts-0.2.3 greenkeeper/broken-link-checker-local-0.2.0 greenkeeper/browser-sync-2.25.0 greenkeeper/browser-sync-2.26.0 greenkeeper/browser-sync-2.26.1 greenkeeper/browser-sync-2.26.2 greenkeeper/browser-sync-2.26.3 greenkeeper/browser-sync-pin-2.24.7 greenkeeper/eslint-5.0.0 greenkeeper/eslint-5.0.1 greenkeeper/husky-1.0.0 greenkeeper/husky-1.0.1 greenkeeper/husky-1.1.0 greenkeeper/husky-1.1.1 greenkeeper/husky-1.1.2 greenkeeper/husky-1.1.3 greenkeeper/husky-1.1.4 greenkeeper/husky-1.2.0 greenkeeper/husky-1.2.1 greenkeeper/mocha-circleci-reporter-0.0.3 greenkeeper/node-opcua-0.1.1-0 greenkeeper/node-opcua-0.2.0 greenkeeper/node-opcua-0.2.1 greenkeeper/node-opcua-0.2.2 greenkeeper/node-opcua-0.2.3 greenkeeper/node-opcua-0.3.0 greenkeeper/node-opcua-0.4.0 greenkeeper/node-opcua-0.4.1 greenkeeper/node-opcua-0.4.2 greenkeeper/node-opcua-0.4.3 greenkeeper/node-opcua-0.4.4 greenkeeper/node-opcua-0.4.5 greenkeeper/node-opcua-0.4.6 greenkeeper/node-opcua-0.5.0 greenkeeper/node-opcua-0.5.1 greenkeeper/node-opcua-0.5.3 greenkeeper/nyc-12.0.1 greenkeeper/nyc-12.0.2 greenkeeper/proxyquire-2.0.0 greenkeeper/proxyquire-2.0.1 greenkeeper/sane-3.0.0 greenkeeper/sane-3.1.0 greenkeeper/sane-4.0.0 greenkeeper/sane-4.0.1 greenkeeper/sane-4.0.2 greenkeeper/sinon-5.0.0 greenkeeper/sinon-5.0.1 greenkeeper/sinon-5.0.2 greenkeeper/sinon-5.0.3 greenkeeper/sinon-5.0.5 greenkeeper/sinon-5.0.6 greenkeeper/sinon-5.0.8 greenkeeper/sinon-5.0.9 greenkeeper/sinon-5.0.10 greenkeeper/sinon-5.1.0 greenkeeper/sinon-5.1.1 greenkeeper/sinon-6.0.0 greenkeeper/sinon-6.0.1 greenkeeper/through2-2.0.4 greenkeeper/through2-2.0.5 greenkeeper/through2-3.0.0 greenkeeper/through2-pin-2.0.3 greenkeeper/unexpected-10.39.1 greenkeeper/unexpected-10.39.2 greenkeeper/unexpected-pin-10.39.0 greenkeeper/unexpected-stream-3.0.0 greenkeeper/xml-js-1.6.8 greenkeeper/xml-js-pin-1.6.7 greenkeeper/yargs-12.0.1 master merge-pr-71 next no-gulp optional-trailing-newlines pr/71 resource-dot-dirs setup-flow test-local-atserver v1
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci
.github
docs
res/init/templates
src
test
.eslintignore
.gitignore
.npmignore
CHANGELOG.md
README.md
appveyor.yml
esdoc.json
package-lock.json
package.json

README.md

atscm

Source code management utilities for atvise

CircleCI AppVeyor codecov ESDoc Greenkeeper badge

atscm is a node.js based utility that stores the contents of atvise projects on the file system. This has several benefits to advanced atvise developers:

  • atvise project can be put under source control (e.g. using git)
  • source code can be edited in external editors
  • easier unit testing
  • easier source code linting / static analysis
  • source files can be preprocessed by using custom transformers:

Installation

This module can be installed via atscm-cli.

Installing atscm-cli
  • Make sure node.js (version 8 or later) is installed by running node --version.
  • Make sure npm is installed by running npm --version.
  • Run npm install --global atscm-cli to install atscm-cli globally. You may have to run this command as an administrator.

With atscm-cli installed run atscm init to create a new atscm project.

Basic usage

Pulling nodes from atvise server

Running atscm pull will download all nodes from atvise server into the ./src folder inside your project.

By default only displays, serverside scripts and quickdynamics will be split into their JavaScript and SVG sources. You can specify additional transformers to use in your Project configuration file.

Pushing source files to atvise server

Running atscm push will update all nodes from the contents of your ./src folder.

Automatically watching for changes

After running atscm watch files and atvise server nodes are watched for changes. If a file changes, the file is pushed, if a node changes this node is pulled.

atscm watch is very useful if you want edit source files in an external editor but still have the ability to use atvise builder's drag and drop functionality.

Project configuration

An atscm project's configuration is stored inside the Atviseproject file inside your project root. See the Atviseproject class reference for available options.