Skip to content

Latest commit

 

History

History
53 lines (43 loc) · 1.13 KB

README.md

File metadata and controls

53 lines (43 loc) · 1.13 KB

scriptabuild

The scriptable build system

Configuration and first run

  1. Install scriptabuild

    npm install -g scriptabuild
  2. Create a projects.json file.

    [
    	{
    		"name": "Scriptabuild",
    		"source": {
    			"provider": "git",
    			"url": "https://github.com/scriptabuild/arjanpoc"
    		},
    		"run": [
    			"npm update",
    			"npm run ci-task"
    		]
    	}
    ]
  3. Create a config.js file if you need other values than the default values. (Sample includes default values)

    {
    	http: {port: 80},
    	workingDirectory: "./scrab",
    	projectsConfigurationFile: "./projects.json"		
    }
  4. Run scriptabuild from that same directory. ...OR start and configure everything on the command line

    scriptabuild http.port:3001 projectsConfigurationFile:/Users/arjan/Documents/dev/scriptabuild/projects.json workingDirectory:/Users/arjan/Documents/dev/test/t1/ws1

Build Setup

  1. Clone this repository
  2. Run the server
    node server/server.js

Note: See separate README.md file in the clientapp folder for building the client app or running it while developing.