1.0.1 • Published 10 years ago
node-motivator v1.0.1
Node Motivator
Inspirational statements via OS notification from the NodeTogether Motivations repository.

Remind yourself that you can do it :)
Prerequisites
This project requires node.js and npm (comes with node).
Get up and running from npm
Make your project folder:
mkdir mycoolproject && cd mycoolprojectInitilize your
package.jsonfile:npm init # Fill in fields or leave all blank to get default configurationInstall and save motivator:
npm install --save node-motivatorOpen a text editor and create an entry point (e.g.):
touch index.js && atom .Require
node-motivatorand configure it (e.g.):// In index.js var Motivator = require('node-motivator') var motivator = new Motivator(5, 'mins') motivator.duration.measure = 20 motivator.duration.unit = 'mins' motivator.motivateMe()Run it from the command line and feel motivated!:
node index.jsOpen youtube and look up "Scareface (Push it to the Limit)" (e.g.):
open https://www.youtube.com/watch?v=DZz3y6r-5H8
Get up and running with example pulled from Github
Clone this repo and cd into it:
cd ~/Desktop git clone https://github.com/chris-schmitz/node-motivator motivator cd motivatorInstall the dependencies with npm:
npm installRun the
test.jsfile with node:node test.js