Write-it is an application that aims to deliver messages to people whose contacts are to be private or the messages should be public, for example: members of congress.
Write-it is a layer on top of popit from where it takes the people and adds contacts. The way it delivers messages is using plugins for example: mailit. And this approach allows for future ways of delivering for example: twitter, whatsapp, fax or pager.
Future uses are in votainteligente to replace the old "preguntales" (You can check here, to see how it used to work) feature, could be in the way for the site writetothem and any parlamentary monitoring site.
Sometimes it's required
Write-it is built using Django. You should install Django and its dependencies inside a virtualenv. We suggest you use virtualenvwrapper to create and manage virtualenvs, so if you don’t already have it, go install it, remembering in particular to add the required lines to your shell startup file.
With virtualenvwrapper installed, clone this repo, cd
into it, and create a virtualenv:
git clone git@github.com:ciudadanointeligente/write-it.git
cd write-it
mkvirtualenv writeit
Install the requirements:
pip install -r requirements.txt
Set up the database, creating an admin user when prompted:
./manage.py syncdb && ./manage.py migrate
Then run the server:
./manage.py runserver
For testing you could run ./test.sh
For coverage analysis run ./coverage.sh
Write-it has been used mostly through it's REST API for which there are a number of API clients. The github repos and the status of the development are listed below:
- writeit-rails ALPHA
- writeit-django ALPHA
The instructions are in the following link.