A website for tracking one's (vaguely health-oriented) promises. Discontinued.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
image-source
images
libraries
twitteroauth
.gitignore
.htaccess
LICENCE
README.md
_config.yml
about.php
auth.php
callback.php
clearsessions.php
common.php
config.php
configure.php
cron-evening.php
cron-weekend.php
cron.php
dailypromise.sql
default.css
edit.php
enter.php
entercallback.php
favicon.ico
friends.php
html.inc
index.php
logincallback.php
manage.php
managecallback.php
privacy.php
redirect.php
registercallback.php
sample.env
unregistercallback.php
view.php
visibilitycallback.php

README.md

Daily Promise

Whether it's chores, diets, jobs or simply finding time to relax, Daily Promise will help keep you in check! This is a web application built on the Twitter API that allows users to make "promises", then fill in whether they've kept them on a day-to-day basis, and compete to be the best.

I wrote this code a long time ago, and the quality of it it pretty bad, but it is functional. The site never really took off, and changes to the Twitter API have since broken the login mechanism, which is Twitter OAuth based. Development of this software has now been discontinued.

Development

A series of blog posts detail the development of the software:

  1. Daily Promise: Design Sketches
  2. Daily Promise: Coming Together
  3. Daily Promise: Avatars Everywhere!
  4. Announcing: Daily Promise!

Install on Heroku

  • Set up a MySQL database somewhere
  • Run:
    git clone https://github.com/ianrenton/DailyPromise.git
    cd DailyPromise
    cp sample.env .env
  • Edit .env in your favourite editor
  • Run:
    heroku apps:create
    heroku config:push