Skip to content

Latest commit

 

History

History
23 lines (14 loc) · 937 Bytes

README.md

File metadata and controls

23 lines (14 loc) · 937 Bytes

Anticensority PAC-Script Generator

Script to run on a server to generate anticensority PAC-script.

Environment Variables

  • GH_REPO — Repo to which generated PAC-script will be uploaded.
  • GH_TOKEN — OAuth2 token that gives write access to GH_REPO (scope 'repo').

Deploy to Heroku

  1. In new tab: Deploy
  2. Deploy app > Manage App > Resources tab > Heroku Scheduler > Add new job > input "./bin/pac-script-generator" after $ > Save.

For Anticensority Team Developers

  1. Deploy tab > Connect to GitHub > connect to production branch with automatic deploys.

Error Reporting

  1. I strongly recommend configuring some error monitoring addon for Heroku. Unfortunately I can't advise any due to lack of long-term experience, you may try https://logentries.com.