wakuwaku automation
- Install Node.js
- Git Clone into your machine
- Create parameters.js see below. (If you wanted running on Raspberry pi, see Notes)
- Npm installation(npm install)
- Then you can Run code(node index.js)
Put parameters.js file into the directory which includes index.js
module.exports = {
username : 'your username',
password : 'your password',
executablePath : '/Applications/Google Chrome.app/Contents/MacOS/Google Chrome', // Depends on your environment [MacOS].
// executablePath : '/usr/bin/chromium-browser', // Depends on your environment [like Raspberry Pi].
}
- Install chromium-browser.
sudo apt-get install chromium-browser
- Remove node_modules directory if existed.
- Uncomment parameters.js executablePath. (also comment out MacOS version.)
- Modify package.json puppeteer version to right one. (Check
chromium-browser --version
and see Puppeteer Site's top left version link) PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true npm install
instead ofnpm install
MIT.
Daily input to wakuwaku is meaningless for me. (It is NOT exciting.) So I made.
If our company present fitbit for all employees, then I delete this repository.