0.9.7 • Published 9 years ago

secret-service v0.9.7

Weekly downloads
3
License
BSD
Repository
github
Last release
9 years ago

secret-service

Centralizes developer build, deployment packaging, and server process management in a single tool.

Main features

  • Manages builds - Wraps gulp with a configuration system - Can merge tasks from application as well as dependencies - Supports a phased build process to let multiple libraries hook into build process

  • Local server - Watch support

  • Deployment - Provides module packaging for deployment security - Automates target server extraction - Automates uDeploy deployments - Automates hot-launch sequence using naught

Usage

Building a Capitol app

Building an application works by loading the capitol.json file from the project, as well as from any packages in node_modules, and then loading all tasks, and kicking off the tasks specified in the configuration to run in each of ss's build phases.

It can include configruations for any number of builds, but the common setup is a dev vs. prod build.

secret-service build {{dev/prod}}

Starting a local server

To start your local development server use:

secret-service server local

Other commands

Running ad-hoc gulp tasks

Most of the specialized commands above really just kick off gulp tasks in a more pre-defined way, but you can start individual gulp tasks using:

secret-service run {{commands...}}

To see a list of available tasks and any associated help with the task, just do:

secret-service tasks

To see a list of segment level available tasks and any associated help with the task, just do:

secret-service info tasks

For uDeploy deployments:

secret-service udeploy
	--application <uDeployAppName>
	--process <udeploy Process>
	--server https://udeploy.morningstar.com
	--versions <listOfVersions optional>
	--components <listOfComponents>
	--environment <environment defaults to DEV>
	--username <Udeploy username> --password <password>

Project configuration

capitol.json

This is the primary configuration file of the Capitol framework, and for secret-service.

Add a task

In a tasks subdirectory of your project, add a task file that matches the pattern "ss-*.js". In it, export a function with the signature:

module.exports = function(gulp, config) {

	gulp.task("my-task", function() {
		...
	});

};

You will get a single gulp instance across all task files and modules. The configuration object will be a merged version of the capitol.json files found in the main project and dependencies.

0.9.7

9 years ago

0.9.6

9 years ago

0.9.5

9 years ago

0.9.4

9 years ago

0.9.2

9 years ago

0.9.1

9 years ago

0.9.0

9 years ago

0.8.3

9 years ago

0.8.2

9 years ago

0.8.1

9 years ago

0.8.0

9 years ago

0.6.3

9 years ago

0.6.2

10 years ago

0.6.1

10 years ago

0.6.0

10 years ago

0.5.11

10 years ago

0.5.10

10 years ago

0.5.6

10 years ago

0.5.5

10 years ago

0.5.4

10 years ago

0.5.3

10 years ago

0.5.2

10 years ago

0.5.1

10 years ago

0.5.0

10 years ago

0.3.7

10 years ago

0.3.6

10 years ago

0.3.5

10 years ago

0.3.4

10 years ago

0.3.3

10 years ago

0.3.2

10 years ago

0.3.1

10 years ago

0.3.0

10 years ago

0.2.4

10 years ago

0.2.3

10 years ago

0.2.2

10 years ago

0.2.1

10 years ago

0.2.0

10 years ago

0.1.3

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago

0.0.22

10 years ago

0.0.19

10 years ago

0.0.18

10 years ago

0.0.17

10 years ago

0.0.16

10 years ago

0.0.15

10 years ago

0.0.13

10 years ago

0.0.12

10 years ago

0.0.11

10 years ago

0.0.10

10 years ago

0.0.9

11 years ago

0.0.8

11 years ago

0.0.7

11 years ago

0.0.6

11 years ago

0.0.5

11 years ago

0.0.4

11 years ago

0.0.3

11 years ago

0.0.2

11 years ago

0.0.1

11 years ago