![mediawiki mobile mediawiki mobile](http://www.bs-wiki.de/mediawiki/images/Wendeschneidplattenbezeichnung.jpg)
Shoebox serilize data to JSON and puts it as script tag in HTML. Shoebox helps us passing data from server to browser. To improve frontend performance we avoid making the same requests on backend and frontend. Set response headers: this.get('').set('x-header', 'value').Require node package: Whitelist package in package.json and const proc = FastBoot.require('proc').
MEDIAWIKI MOBILE CODE
Check if code is executed on server side: inject fastboot service fastboot: () and this.get('fastboot.isFastBoot').If you want to test with consul, use mediawikiDomain: '' or mediawikiDomain: ''ĭevelopment FastBoot and Server side funtionality.The devboxDomain must have your devbox name (without the dev- prefix) in it.Some tips if you develop outside of devbox: Express server configuration (middleware in front of FastBoot server) config/fastboot-server.js.Ember & FastBoot runtime configuration app/instance-initializers/config.js which has access to environment variables.Ember & FastBoot configuration computed at build time config/environment.js.Mobile Wiki application currently supports three types of configuration. Server side code can be interrupted by debuggers. (Experimental) npm run fastboot-debug - build and run application in debugging mode.npm run svgo - optimize all SVG files in the repository (check out tasks/optimize-svg.sh for details and configuration).npm run clean - remove all dependencies and build directory.npm run stylelint -fix - run stylelint and fix all issues that can be automatically fixed.npm run stylelint - run stylelint against all.npm run linter - run ESLint on files that are outside ember project.npm run dev - build, run application and watch files.npm run fastboot-server - run built application ( requires application to be build first).npm run build-prod - build files for prod environment.npm run build - build files for dev environment.