No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
ansible
climatechangebot
.gitignore
LICENSE
README.md
Vagrantfile
requirements.txt

README.md

climatechangebot

Vagrant and ansible playbook taken from: https://github.com/paste/fvang

To run app:

$ vagrant provision
$ ngrok http -host-header=rewrite 192.168.33.11:80
$ python app.py

Visit the page on localhost or using ngrok. Add testing webhook to Facebook webhooks.

Connect to db example:

Tutorial: https://api.mongodb.com/python/current/tutorial.html

from pymongo import MongoClient
client = MongoClient()
client.database_names()
mongo = client.app
mongo.db.users.find_one()

DigitalOcean Release Notes

To do:

  1. Continuous rive improvement
  2. Email notification about errors on prod
  3. Code refactor
  4. Install better mongo Ansible role: https://galaxy.ansible.com/greendayonfire/mongodb/