Appendix: settings.json
for NIACROMS
Author: Peter C, October 25, 2021
~/vscodeProjects/niacroms/.vscode/settings.json
{
"intelephense.environment.phpVersion": "7.4",
"deploy":{
"packages": [
{
"name": "NIACROMS v0.2.0",
"description": "NIACOMS deployment package v0.2.0",
"files":[
"assets/**",
"classes/**",
"traits/**",
"css/**",
"html/**",
"js/**",
"plugins/**",
"services/**",
"*.php",
"config.json",
"LICENSE",
"*.md"
],
"deployOnSave": false,
"deployOnChange": false,
"button": {
"text": "DEPLOY",
"tooltip": "click to deploy to dev, test or prod",
"targets": [ "redcap.internal", "criBaby", "redcap.test", "redcap.prod" ]
}
}
],
"targets": [
{
"type": "sftp",
"name": "redcap.internal",
"host": "localhost", "port": 22,
"user": "criwebtools", "password": "xxxxxxxx",
"dir": "/var/www/redcap.internal/modules/niacroms_v0.2.0"
},
{
"type": "sftp",
"name": "criBaby",
"host": "192.168.0.250", "port": 22,
"user": "criwebtools", "password": "xxxxxxxx",
"dir": "/var/www/redcap-dev/modules/niacroms_v0.2.0"
},
{
"type": "sftp",
"name": "redcap.test",
"host": "test1.redcap.yale.edu", "port": 22,
"user": "charpe",
"dir": "/var/www/html/redcap/modules/niacroms_v0.2.0"
},
{
"type": "sftp",
"name": "redcap.prod",
"host": "redcap2.med.yale.edu", "port": 22,
"user": "charpe",
"dir": "/var/www/html/redcap/modules/niacroms_v0.2.0"
}
]
}
}