This project was initially generated with the Angular Full-Stack Generator version 3.5.0.
- Git
- Node.js and npm Node ^4.2.3, npm ^2.14.7
- Bower (
npm install --global bower
) - Grunt (
npm install --global grunt-cli
) - MySQL
-
Run
npm install
to install server dependencies. -
Run
bower install
to install front-end dependencies. -
Run
grunt serve
to start the development server. It should automatically open the client in your browser when ready.
Although the code is open source, the source of the data isn’t and is proprietary. This is why the import scripts are not fully included and are missing sensitive data. We have included part of them to guide you in creating your own data import scripts.
Run grunt build
for building and grunt serve
for preview.
-
Run
grunt serve:dist
to build and run the production-ready site. -
run prerender for social sharing
$ git clone https://github.com/prerender/prerender.git
$ cd prerender
$ npm install
$ node server.js
this will run the prerenderer on localhost:3000
-
Testing
Running
npm test
will run the unit tests with karma.