zland
This repository is for building zland.
It puts everything together and runs the package either mobile or in the browser.
Installation
clone the repo
git clone https://github.com/zland/zland.git
install all dependencies first
npm install
install gulp:
npm install -g gulp
install cordova:
npm install -g cordova
Configuration
There is a json config located in config/sample.config.json
Copy this file to config.json and add your google maps key.
Usage
Launch in the browser
gulp serve:debug
Launch android
cordova platform add android
gulp build && cordova run android
Launch ios
cordova platform add ios
gulp build
Contribute
Directories
config
Simply copy the config.sample.json to config.json. Then register at You can get the key on your google api to obtain a maps api key.
gulp
Gulp files for building zland.
hooks
plugins
All plugins added using cordova plugin add
res
Resources folder: mobile os specific images like splash screen and icons are places here.
www
Files for running projects isolated from main project.
Files
gulpfile.js
includes all gulp files in gulp-folder sets search-globs for creating docs
make-webpack-config.js
function for building a webpack config object zland modules are injected dynamically using configs of config/config.json
webpack-debug-settings.js
webpack config with debug settings
webpack-production-settings.js
webpack config with production settings