#Tamabotchi This is a Tamagochi-like bot for Facebook messenger. Feed at your own risk.
##Install / Run
- Clone the repo
git clone https://github.com/dev-labs-bg/tamabotchi - Install libgd BEFORE
node install- On Debian/Ubuntu
sudo apt-get install libgd2-dev - On RHEL/CentOS
sudo yum install gd-devel - On Arch
sudo pacman -S gd - For more info check out the Github repository
- On Debian/Ubuntu
- Install the dependencies
node install - Install and start mongodb. On Arch:
- Install
sudo pacman -S mongodb - Start
sudo systemctl start mongodb - Autostart (on boot)
sudo systemctl enable mongodb
- Install
- Create a new app from FB's website
- Add a
config.jsonfile, containing:FBACCESS_TOKENVERIFICATION_TOKEN
DBMONGO_URLSYNC_SCHEDULE(e.g.at 00:00More details)
BOTKIT_PORT(Port for botkit server, webhook is at /facebook/receive)WEBPORTROOT_URLPUBLIC_ROOT
IMAGE_FONTFor help viewconfig.json.sample
- Run with
node app.js