An experiment with ephemeral messaging using email addresses.
Currently we are working on version 1.0. View the documentation
- Sender creates a message and provides the receiver email address
- Message sits in the server waiting to be read
- When the receiver signs in using Persona and their email matches the receiver address they get a list of unread messages
- Once the receiver views the message, it is deleted from the server
- Allow unread messages to die after a certain period of time
- Encryption considerations (probably not necessary as someone who wants to encrypt can just paste the encrypted block into the message area. If they are that paranoid and want to still use the system. I mean, just use something else for now then, sheesh.)
mkvirtualenv detour
pip install -r requirements.txt
cp detour/settings.py-local detour/settings.py
This will allow you to compile your templates for production
To read more about nunjucks, check out the documentation
Install node
npm install git://github.com/jlongster/nunjucks.git
Download nunjucks and add it to detour/static/js/lib/nunjucks.js
If you are on development mode, use nunjucks-dev.js
If you are on production and have precompiled your templates, use nunjucks-min.js
In development mode, make sure detour/static/js/templates.js only has the following: define(function() {});
In production mode, run the following:
node_modules/nunjucks/bin/precompile detour/static/templates > detour/static/js/templates.js
If you need to override detour/static/js/settings.js, create detour/static/js/local_settings.js and return the new values. For example:
define([],
function () {
'use strict';
return {
DEBUG: true
};
});
Copy the following steps to set up and create the initial database::
cd detour
./migration.py version_control
./migration.py upgrade
python detour/app.py
In the top level of the project, run the following
nosetests