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

pol-is-trial-balloon/polisReport

This branch is 2 commits behind pol-is/polisReport:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

9292665 · Jan 9, 2019
Jan 9, 2019
Jan 9, 2019
Dec 31, 2016
Dec 31, 2016
Sep 15, 2017
Dec 31, 2016
Dec 31, 2016
Apr 25, 2018
Dec 31, 2016
Dec 31, 2016
Jan 9, 2019
Oct 16, 2018
Jan 9, 2019
Jan 9, 2019
Jan 9, 2019
Jan 9, 2019
Jan 9, 2019
Sep 11, 2018
Mar 8, 2018
Jan 9, 2019
Jan 9, 2019
Jan 9, 2019
Jan 9, 2019

Repository files navigation

Polis report

Development

Same environment variables as the rest of the apps. Once you have the npm modules set up (npm install?), you can run the development server (with hot code reloading) by running ./x.

Note that there should be a file at .env_dev which will be read from when you call ./x. This shell script file should contain a line like export SERVICE_URL=https://polis.yourlocalns. This should point to whichever polisServer instance you like (likely either http://localhost:5000 for a local dev instance).

Deployment

Deploy using the deployPreprod and deploy_TO_PRODUCTION, as appropriate.

Note that you will first have to copy over the polis.config.template.js file to polis.config.js, and edit appropriately. In particular, here you can specify the service url for the static build, as well as the uploader method and s3 bucket information.

You will also need to have AWS credentials set up at .polis_s3_creds_client.json if you are using S3 buckets for deployment (as specified in polis.config.js; other option is scp to a static file server). The credential file should be a json that looks more or less like

{"key": "AKIDFDCFDFDSDFDDSEWW",
 "secret": "dfkjw3DDfkjd902k39cjglkjs039i84kjccC"}

About

Detailed analytics report

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 97.4%
  • HTML 1.4%
  • Shell 1.2%