#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.json
file, containing:FB
ACCESS_TOKEN
VERIFICATION_TOKEN
DB
MONGO_URL
SYNC_SCHEDULE
(e.g.at 00:00
More details)
BOTKIT_PORT
(Port for botkit server, webhook is at /facebook/receive)WEB
PORT
ROOT_URL
PUBLIC_ROOT
IMAGE_FONT
For help viewconfig.json.sample
- Run with
node app.js