Refactoring: reorganize files between client and server + initiate deployment

This commit is contained in:
2015-11-05 07:58:55 +00:00
parent fd483c0d27
commit 42e5a06750
11 changed files with 177 additions and 59 deletions

24
server/constants.js Normal file
View File

@@ -0,0 +1,24 @@
var DEPLOYMENT_FOLDER = 'deployment',
SCRIPTS = {
CREATE : [
{
cmd: 'mkdir %CWD%',
options : {
cwd: '%ROOT_CWD%'
}
},
{
cmd: 'cd %CWD%',
options : {
cwd: '%ROOT_CWD%'
}
},
{
cmd: 'git clone %GIT% .',
options : {
cwd: '%ROOT_CWD%/%CWD%'
}
}
]
};