Smart monitoring of your automobile
- Install git or git-scm for windows
- Install yarn
git clone https://github.com/WineReachOwner/winereach2.0-App.git
git checkout develop
This is the current development branchnpm install -g phonegap@latest
npm install -g gulp-cli
npm install -g webpack
npm install -g webpack-dev-server
yarn install
Make sure that you are running this inside winereach2.0-App directory- Run development server. Please see server options below
npm run start:web
starting our http server for the development- Open a new terminal and change directory to winereach2.0-App then run
gulp
- Open chrome and navigate to
http://localhost:8080/www/
phonegap serve
N/A
This will only create the compiled files required but will not run any server. The directory must reside in your own host. ex. apache , nginx etc.
npm run dist
Note : www/ directory contains compiled and minified assets from src/ . This will be automatically generated when you run
npm run start:web
ornpm run dist
. Please also note that when creating a.zip
file for phonegap application, you must only include the www/ folder and config.xml
Set NODE_ENV=production
- output minified css and html
Set NODE_ENV=development
- unminified assets
By default NODE_ENV is not set and will produce unminified assets. To change this behavior , set NODE_ENV to production