People's Power Station
This project was initially generated with the Angular Full-Stack Generator version 3.5.0.
- Node.js and npm Node ^4.2.3, npm ^2.14.7
- Bower (
npm install --global bower)
- Grunt (
npm install --global grunt-cli)
npm installto install server dependencies.
bower installto install front-end dependencies.
grunt serveto start the development server. It should automatically open the client in your browser when ready.
Build & development
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.
grunt build for building and
grunt serve for preview.
grunt serve:distto 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
npm testwill run the unit tests with karma.