Skip to content
Salesforce Commerce Cloud (Demandware) cartridge uploader for WebDAV
JavaScript
Branch: master
Clone or download
k2kirov Merge pull request #6 from ForkPoint/develop-buildsuite
Added long awaited refactoring of davos core
Latest commit 9099412 Nov 13, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
resources refactored split functions Nov 1, 2017
src hotfix globby path in merge Nov 13, 2017
.README.md
.editorconfig change indent style to space Apr 11, 2017
.eslintrc.js add some eslint rules Apr 11, 2017
.gitignore Initial implementation Jan 17, 2017
.npmignore
LICENSE.md Initial implementation Jan 17, 2017
README.md Initial implementation Jan 17, 2017
index.js
package-lock.json
package.json unified merge functionality in a single function Nov 10, 2017

README.md

Davos - Your trusty WebDav companion.

Davos is a WebDav client which is well suited to upload and sync your Cloud Commerce Digital projects. It fully mimics the usage of Eclipse Demandware server configurations featuring profiles and synchronization on file change.

NPM Version

Install

npm i -g davos

Usage

Project setup

  • The first thing you should do is to run the command 'davos create' with your favorite CLI in your project's folder, which will create the configuration file.
  • You could easily insert profiles(dev01, dev02, development etc.) by running the 'davos insert' command.
  • Running the 'davos list' command will display a list of your profiles and will show which profile is active now.
  • To switch your active profile you could run the following commands: 'davos switch --profile [name of profile]' or 'davos switch -P [name of profile]'.

  • Now that you have a configuration you could upload your cartridges or watch for changes:
  • Run the 'davos upload' command to upload all your cartridges.
  • Run the 'davos upload --cartridge [name of cartridge]' command to upload a single cartridge of your wish.
  • Run the 'davos watch' command to watch all your cartridges for changes.
  • Run the 'davos watch --cartridge [name of cartridge]' command to watch a single cartridge of your wish for changes.

Sample configuration

[
	{
		"active": true,
		"profile": "dev01",
		"config": {
			"hostname": "dev01-web-proj.demandware.net",
			"username": "user1",
			"password": "password1",
			"cartridge": [
				"foo\\cartridges\\app_foo",
				"foo\\cartridges\\int_foo"
			],
			"codeVersion": "version1",
			"exclude": ["**/node_modules/**",
				"**/.sass-cache/**"]
		}
	},
	{
		"active": false,
		"profile": "dev02",
		"config": {
			"hostname": "dev02-web-proj.demandware.net",
			"username": "user2",
			"password": "password2",
			"cartridge": [
				"foo\\cartridges\\app_foo",
				"foo\\cartridges\\int_foo"
			],
			"codeVersion": "version1",
			"exclude": ["**/node_modules/**",
				"**/.sass-cache/**"]
		}
	}
]

License

MIT

You can’t perform that action at this time.