Skip to content

Instantly share code, notes, and snippets.

@perryqh
Created January 10, 2017 00:57
Show Gist options
  • Save perryqh/fd4b7a66d78e1434ffeb540d209a8217 to your computer and use it in GitHub Desktop.
Save perryqh/fd4b7a66d78e1434ffeb540d209a8217 to your computer and use it in GitHub Desktop.
ab
/* jshint node: true */
module.exports = function(environment) {
var ENV = {
modulePrefix: 'multi-family-iui-cards-v2',
environment: environment,
baseURL: '/',
locationType: 'auto',
EmberENV: {
PER_PAGE: 3,
FEATURES: {}
},
APP: {
rootElement: '#iui-container',
pusherTimeoutDuration: 0
}
};
if (environment === 'development') {
// ENV.APP.LOG_RESOLVER = true;
// ENV.APP.LOG_ACTIVE_GENERATION = true;
// ENV.APP.LOG_TRANSITIONS = true;
// ENV.APP.LOG_TRANSITIONS_INTERNAL = true;
// ENV.APP.LOG_VIEW_LOOKUPS = true;
//
// If you need to proxy to pluto etc, you will need to
// uncomment the following storeId and serviceHost settings
// and comment out the blank serviceHost after that.
// Then enable the proxy: `ember s --proxy='http://pluto.g5search.com'`
//
ENV.APP.locationUrn = "g5-cl-55lm07pyx-panther-effingham-parc";
// ENV.APP.locationUrn = "g5-cl-58c2anfi1-point-reyes-lighthouse-studios";
// ENV.APP.serviceHost = '';
ENV.APP.serviceHost = '';
// ENV.APP.serviceHost = '//inventory-integrations-staging.g5marketingcloud.com';
// ENV['ember-cli-mirage'] = {
// enabled: false
// };
ENV.APP.leadFormUrl = 'http://localhost:3000/api/v1/locations/g5-cl-1skmeept-blahblahblah/html_forms/contact',
ENV.APP.successRedirectUrl = "http://mtbachelor.com",
ENV.APP.stepOneText = "Choose Size",
ENV.APP.stepTwoText = "Choose Floorplan",
ENV.APP.stepThreeText = "Select Unit",
ENV.APP.stepFourText = "Reserve",
ENV.APP.searchUrl = "http://www.somefloorplanspage.com",
ENV.APP.siteId = "1234",
ENV.APP.fakePusherDuration = 1000,
ENV.APP.pusherTimeoutDuration = 2000,
ENV.APP.moveInCostServiceHost = '',
ENV.APP.useAllFixtureData = true;
}
if (environment === 'test') {
ENV.APP.locationUrn = "g5-cl-55lm07pyx-panther-effingham-parc";
ENV.baseURL = '/';
ENV.locationType = 'auto';
ENV.APP.LOG_ACTIVE_GENERATION = false;
ENV.APP.LOG_VIEW_LOOKUPS = "false";
ENV.APP.rootElement = '#ember-testing';
ENV.APP.stepOneText = "Choose Size",
ENV.APP.stepTwoText = "Choose Floorplan",
ENV.APP.stepThreeText = "Select Unit",
ENV.APP.stepFourText = "Reserve"
ENV.APP.searchUrl = "http://www.somefloorplanspage.com",
ENV.APP.siteId = "1234",
ENV.APP.fakePusherDuration = 0,
ENV.APP.moveInCostServiceHost = '',
ENV.APP.useAllFixtureData = true;
}
if (environment === 'production') {
ENV.APP.pusherTimeoutDuration = 60000,
//ENV.APP.serviceHost = 'https://g5-inventory-staging.herokuapp.com',
ENV.APP.serviceHost = 'http://localhost:3002',
ENV.APP.locationUrn = "g5-cl-54ryikmq7-jp-test-store",
ENV.APP.moveInCostServiceHost = 'https://g5-vendor-leads-staging.herokuapp.com';
}
return ENV;
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment