Browse Source

Fix paths for Requarks-Core production

pull/33/head
NGPixel 8 years ago
parent
commit
75ab068672
3 changed files with 8 additions and 6 deletions
  1. 3
      agent.js
  2. 8
      gulpfile.js
  3. 3
      server.js

3
agent.js

@ -6,7 +6,8 @@
global.PROCNAME = 'AGENT'; global.PROCNAME = 'AGENT';
global.ROOTPATH = __dirname; global.ROOTPATH = __dirname;
global.CORE_PATH = ROOTPATH + '/../core/';
global.CORE_PATH = ROOTPATH + './node_modules/requarks-core/';
//global.CORE_PATH = ROOTPATH + '/../core/';
global.IS_DEBUG = process.env.NODE_ENV === 'development'; global.IS_DEBUG = process.env.NODE_ENV === 'development';
// ---------------------------------------- // ----------------------------------------

8
gulpfile.js

@ -57,8 +57,8 @@ var paths = {
'./client/scss/*.scss' './client/scss/*.scss'
], ],
includes: [ includes: [
'../core',
//'./node_modules/requarks-core'
//'../core',
'./node_modules/requarks-core'
], ],
watch: [ watch: [
'./client/scss/**/*.scss', './client/scss/**/*.scss',
@ -68,8 +68,8 @@ var paths = {
fonts: [ fonts: [
'./node_modules/font-awesome/fonts/*-webfont.*', './node_modules/font-awesome/fonts/*-webfont.*',
'!./node_modules/font-awesome/fonts/*-webfont.svg', '!./node_modules/font-awesome/fonts/*-webfont.svg',
//'../node_modules/requarks-core/core-client/fonts/**/*'
'../core/core-client/fonts/**/*'
'../node_modules/requarks-core/core-client/fonts/**/*'
//'../core/core-client/fonts/**/*'
], ],
deploy: [ deploy: [
'./**/*', './**/*',

3
server.js

@ -7,7 +7,8 @@
global.PROCNAME = 'SERVER'; global.PROCNAME = 'SERVER';
global.ROOTPATH = __dirname; global.ROOTPATH = __dirname;
global.CORE_PATH = ROOTPATH + '/../core/';
global.CORE_PATH = ROOTPATH + './node_modules/requarks-core/';
//global.CORE_PATH = ROOTPATH + '/../core/';
global.IS_DEBUG = process.env.NODE_ENV === 'development'; global.IS_DEBUG = process.env.NODE_ENV === 'development';
// ---------------------------------------- // ----------------------------------------

Loading…
Cancel
Save