projects:love_machine
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Last revisionBoth sides next revision | ||
projects:love_machine [2014/02/04 23:39] – [Installation] Julien Deswaef | projects:love_machine [2014/05/04 14:08] – [Installation] Julien Deswaef | ||
---|---|---|---|
Line 39: | Line 39: | ||
* Phantomjs | * Phantomjs | ||
* A facebook account | * A facebook account | ||
+ | |||
+ | Here is a little tutorial on how to install CasperJs and PhantomJs on Debian stable: https:// | ||
== Usage: == | == Usage: == | ||
+ | |||
+ | If you just want to run it by " | ||
<code bash> | <code bash> | ||
+ | |||
+ | If you want to setup a cron every hour, you will have to write a crontab like this: | ||
+ | <file txt loveCron> | ||
+ | |||
+ | You'll have to also set this line at the beginning of loveMachine.js file to an absolute path: | ||
+ | |||
+ | <code javascript> | ||
+ | var casper = require(' | ||
+ | clientScripts: | ||
+ | ' | ||
+ | ], | ||
+ | </ | ||
+ | |||
+ | |||
==== Links === | ==== Links === |
projects/love_machine.txt · Last modified: 2015/12/28 21:39 by Julien Deswaef