项目作者: aagavin

项目描述 :
pdf generator for pcoptimum.ca
高级语言: TypeScript
项目地址: git://github.com/aagavin/pc-optimum.git
创建时间: 2018-07-16T20:49:48Z
项目社区:https://github.com/aagavin/pc-optimum

开源协议:GNU General Public License v3.0

下载


Note repo is depratated: Use this instead
https://github.com/aagavin/py-pc-optimum

==============================================================================================
CodeFactor CircleCI
Language grade: JavaScript

pc-optimum-pdf mailer

Send pdf of the webpage https://www.pcoptimum.ca/offers to an email using your provided smpt provider

Setup Locally

  • run npm ci
  • Setup the following envernment varables

    • E_USERNAME email server username
    • E_PASSWORD email server password (Should be application specific)
    • E_FROM email to use as the FROM feild in the email
    • E_TO email your sending the email to
  • Run using
    npm run start-local <pcoptimum.ca username> <pcoptimum.ca password>

eg. npm run start-local email@example.ca hunter2

Package

  • Setup the envernment varables up as outlined in the Setup locally section
  • Build using npm run build
  • run using npm run start <pcoptimum.ca username> <pcoptimum.ca password>

eg. npm run start email@example.ca hunter2