The content repository creation form doesn't make any attempt to validate its inputs. There are a bunch of things we can give early feedback on without waiting until Docker tries to launch a container with bad configuration, such as:
contentRepositoryPath and controlRepositoryLocation are both valid paths on the filesystem.
contentRepositoryPath exists, is a readable directory, and contains a valid _deconst.json file.
controlRepositoryLocation exists, is a readable directory, and contains a Gruntfile.js file.
The content repository creation form doesn't make any attempt to validate its inputs. There are a bunch of things we can give early feedback on without waiting until Docker tries to launch a container with bad configuration, such as:
contentRepositoryPath
andcontrolRepositoryLocation
are both valid paths on the filesystem.contentRepositoryPath
exists, is a readable directory, and contains a valid_deconst.json
file.controlRepositoryLocation
exists, is a readable directory, and contains aGruntfile.js
file.displayName
is non-empty.