This is the main repo for website front end.
To run mobile web locally your system needs to have below items.
- Node.js should be installed locally https://nodejs.org.
- Yeoman generator http://yeoman.io/.
- Any text editor, recommended sublime text or webstrom.
- Install Node.js running there node installer for windows or mac.
- Once node install goto terminal run
node -v
to check its installed correctly. - To install Yeoman just run
npm install -g yo
into terminal window, if you get any error usesudo npm install -g yo
- Install bower if not installed already. Run
npm install -g bower
, if you get any error usesudo npm install -g bower
- Install grunt if not installed already. Run
npm install -g grunt-cli
, if you get any error usesudo npm install -g grunt-cli
- Create empty folder running
mkdir project
into terminal and cd into new created folder. - Clone project from bitbucket (if you need permission ask).
- Once you clone repo. inside cloned folder run
npm install
andbower install
(windows user need tonpm install win-spawn
) - Run
grunt serve
from terminal. - Congratulations your mobile web is up and running.
Note Some stupid bugs might come across while doing setup, have some patience and google it.
-
To run application on different port you can use below command.
grunt serve -p 9000
-
To run application on IP
grunt serve --address 192.168.200.66
-
To get more info from terminal while running application use below flag
grunt serve --verbose
-
If you got error something like connection refuse etc even grunt serve successful add below line
``sudo npm uninstall grunt-concurrent`` ``sudo npm install grunt-concurrent@1.0.0``
ui-grid: https://github.com/angular-ui/ui-grid/
times: https://github.com/indrimuska/angular-moment-picker http://momentjs.com/docs/