Skip to content
This repository has been archived by the owner on Jul 19, 2020. It is now read-only.

Latest commit

 

History

History
80 lines (50 loc) · 1.95 KB

README.md

File metadata and controls

80 lines (50 loc) · 1.95 KB

NOTE: This separate project has been archived in favor of the monorepo setup at https://github.com/pol-is/polis.


Build Status Code Climate Test Coverage

Polis Admin Console

Configuration

Install the NVM following the instructions: NVM Installation Guide.

Them run the commands below to install the correct Node.JS version and the application dependencies.

nvm install 6.2.0
npm install

Common Problems

If you having troubles with npm dependencies try run the commands below:

npm cache clear
npm install

Running Application

nvm use 6.2.0
npm start

Running Tests

We use the Jest Testing Framework.

npm test

Building and Deploying for Production

To build static assets for a production deployment, run

gulp dist

As a convenience, the deploy_TO_PRODUCTION script is provided for deploying to AWS S3 or via SCP to a static file server. For S3 deployment, place your AWS credentials in a JSON file at .polis_s3_creds_client.json that looks like this:

{"key": "XXXXXXX", "secret": "YYYYYYY"}

Icons from the Noun Project

  • Checklist by David Courey from the Noun Project
  • AI by mungang kim from the Noun Project
  • Science by Akriti Bhusal from the Noun Project
  • Success File by Ben Davis from the Noun Project

Collections to look into