Installation

TriggerHappy can be installed inside an existing project, or from scratch

Installation from scratch

We just create a virtualenv with python 3.6 (or 3.5)

python3.6 -m venv myproject
cd $_
source bin/activate

then you can continue with one of the two choice “From GitHub” or “From Pypi”

Installation from an existing project

cd /to/the/path/of/my/existing/project
source bin/activate   # (if you have a virtualenv)

then you can continue with one of the two choice “From GitHub” or “From Pypi”

Installation From GitHub

git clone https://github.com/foxmask/django-th.git

then continue by installing :

cd django-th
pip install -e .[all]

Installation From Pypi

pip install django-th[all]

or to make your own “recipe”, for example to install some of the component and not all of them:

pip install django-th[min]   # will just install rss and Wallabag
pip install django-th[rss,wallabag]
pip install django-th[rss,twitter,wallabag,github]

Once it’s done, you can continue to the [configuration process](http://trigger-happy.readthedocs.org/en/latest/configuration.html)

Requirements

Service requirements

for evernote support

The latest libtidy-dev should be installed with your operating system package manager, not from pip.

On a Debian/Ubuntu system:

apt-get install libtidy-dev

Pandoc is also needed of the system, that you can install on a Debian/Ubuntu system like this:

apt-get install pandoc

Advice

If you plan to setup Trigger Happy for you and a group of friends, I suggest you to install https://www.intenct.nl/projects/django-allauth/

Database

bootstrap the database

python manage.py migrate
python manage.py createsuperuser

Load the initial services:

python manage.py loaddata initial_services

Start the application

python manage.py runserver &

Now open your browser and go to http://127.0.0.1:8000/th/ to start using the application by logged in