A communications platform for deterring high frequency buyers of underground commercial sex.
Table of Contents
Install this Django application by first cloning the repository.
git clone https://github.com/RobSpectre/garfieldInstall the Python dependencies.
cd garfield
pip install -r requirements.txtCreate a local configuration file and customize with your settings.
cd garfield/garfield/garfield
cp local.sample local.pyCreate database.
cd ..
python manage.py makemigrations
python manage.py migrateRun the server
python manage.py runserverConfigure a Twilio phone number to point to the /sms endpoint of your host.
Text "HELP" to the number you configured.
Install RabbitMQ, required for the Celery task queue. Instructions for Ubuntu.
$ sudo apt-get update
$ sudo apt-get install rabbitmq-serverTo hack on the project, fork the repo and then clone locally.
$ git clone https://github.com/RobSpectre/garfield.gitMove to the project directory.
$ cd garfieldInstall the Python dependencies (preferably in a virtualenv).
$ pip install -r requirements.txtThen customize your local variables to configure your Twilio, email and admin accounts you want to receive tips.
$ cp garfield/garfield/local.sample garfield/garfield/local.py
$ vim garfield/garfield/local.pyMove to the Django project root.
$ cd garfieldStart the Celery task queue.
$ celery -A garfield worker -l infoStart the Django app.
$ python manage.py runserverUse Tox for easily running the test suite.
$ tox- Written by Rob Spectre
- Released under MIT License
- Software is as is - no warranty expressed or implied.