No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.vscode
client
e2e
server
.babelrc
.bowerrc
.buildignore
.editorconfig
.gitattributes
.gitignore
.jscsrc
.snyk
.travis.yml
.yo-rc.json
Gruntfile.js
LICENSE.txt
README.md
bower.json
karma.conf.js
lch.todo
mocha.conf.js
package.json
protractor.conf.js

README.md

People's Power Station

screenshot

This project was initially generated with the Angular Full-Stack Generator version 3.5.0.

Getting Started

Prerequisites

Developing

  1. Run npm install to install server dependencies.

  2. Run bower install to install front-end dependencies.

  3. Run grunt serve to 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.

Run grunt build for building and grunt serve for preview.

  1. Run grunt serve:dist to build and run the production-ready site.

  2. 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

TODO

  • Testing

    Running npm test will run the unit tests with karma.