- Download code
- Open command line tool (git bash) and run 'npm install' from project root.
- In command line tool run 'grunt' command from the project root. This will automatically build everything and run grunt watch.
- Start server by running 'nodemon main.js' or 'node main.js'.
- Go to https://localhost:3000
- public/js/app.js is the starting point. All UI and Angular code will be compiled into this file using browserfiy in the grunt build.
- app.js requires all of the needed modules which can be found in the modules package.
- Each angular module will have an index.js file at its root which will be a one stop shop for angular compilation in the module.
- Grunt file will compile and minify app.js into the bundle.js.
- main.js will start up the node server.
- All routes will be listened for here and sent to the routes.js for processing in the main module.
- Each module can have its own server side code if it needs to.
- Stylus files are compiled with grunt into the main.css file at public/css/main.css
- Stylus files with names ending with "Media" are explicitly for mobile phones and will capture any screen up to 800px.