Tools required:
1, NodeJS 2, Sublime
Installation:
- install gulp & bower
npm install -g gulp bower
- npm install
npm install
- bower install
bower install
4 Config file Create the \src\app\config.js
angular.module('bamboo-admin')
.constant('LocalConfig',{
SUBDOMAIN:'ifx',// fixed sub domain , it will not check the
APIDOMAIN:'api.sgedushare.com',
// PORT:80,
// APIPORT:3002,
UIPATH:'/ui',
// APIPATH:'/uapi',
// MYSQLPATH:'/usql',
SHOST:'//s3-ap-southeast-1.amazonaws.com/edushare',
RES:'resg',
//UPLOADSERVER: 'aws', // aws or alicloud
//OSSSERVER:"182.92.6.92:5050",
//HTTPSFILESERVER:"https://upload.bamboostudy.com:5443",
APPSERVER_HOST: '', // or http://appserver
APPSERVER_PORT: '3200', // or empty
APPSERVER_PATH: '/#', // or /app
PARENT_PORT: '3150', // or empty
PARENT_PATH: '/#', // or /app
UNIFY_PORT: '3100', // or empty
UNIFY_PATH: '/#' // or /app
});
==================================================================
After run "gulp serve" command in the terminal, it will use the sgedushare.com as debug server.
- Build & Run
- run using tmp
gulp serve
- clean
gulp clean
- build
gulp
- run using dist
gulp serve:dist
your articles will be shown here