Skip to content

Latest commit

 

History

History
36 lines (29 loc) · 938 Bytes

README.md

File metadata and controls

36 lines (29 loc) · 938 Bytes

knews-app

uses https://newsapi.org/ and then emails news headlines to subscribers


Required packages(npm modules)


  • npm install sync-request
  • npm install jsonfile
  • npm install node-schedule
  • npm install mailgun-js

Configuration



Running app


  • Ubuntu
  1. apt-get install nodejs-legacy
  2. apt-get install npm
  3. npm install knews-app
  4. npm start knews-app
  • Os X
  1. Add Auto execution cronjobs (run every workday at 10 and 20) 0 10 * * 1-5 node /Users/k-joseph/Projects/kaweesi/knews-app/index.js 0 20 * * 1-5 node /Users/k-joseph/Projects/kaweesi/knews-app/index.js