Data access layer for mcfly
Install and run Postgres: Postgres App on OSX is usually the easiest way
Install and run RabbitMQ: brew update + brew install rabbitmq + rabbitmq-server
https://www.rabbitmq.com/install-homebrew.html for more help.
Build mcfly and setup the datbase: make setup
If you're running on localhost, you need to install and run ngrok for webhooks to work. Upgrading to ngrok Pro plan is required.
make run-ngrok to run it
mcfly run
The api_test package needs postgres to be running. Connection limit needs to be increased (set max_connections = 1000 in postgresql.conf)
make test
mcfly shows available commands
see config/config.go