Elasticsearch frontend with advanced OSINT analytics capabilities including sentiment display, nickname/information tracing, live and scheduled rule creation with webhook endpoints. https://pathogen.is
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Mark Veidemanis f62f0881a1
Show ingest status
7 months ago
app Use cachalot to invalidate caches 7 months ago
core Show ingest status 7 months ago
docker Finish implementing notification rules 8 months ago
.gitignore Ingest notification matches to ES 8 months ago
.pre-commit-config.yaml Bump versions in pre-commit config 8 months ago
Dockerfile Switch to UWSGI and improve Docker definitions 10 months ago
Makefile Switch to UWSGI and improve Docker definitions 10 months ago
README.md Fix typo in documentation 1 year ago
docker-compose.yml Switch database location and use mixins for CRUD 8 months ago
manage.py Run formatting 1 year ago
pyproject.toml Reformat and add blacklisted directories to DjHTML 1 year ago
requirements.txt Use cachalot to invalidate caches 7 months ago
stack.env Switch to UWSGI and improve Docker definitions 10 months ago



Django app to handle to manage subscriptions to products using Stripe, and implementation of the products themselves.

Setting up the environment

Create the virtual environment, enable it, and install the dependencies.

$ python3 -m venv env
$ source env/bin/activate
(env) $ pip install -r requirements.txt

Local settings

You'll need to copy the app/local_settings.example.py file to app/local_settings.py. The project won't start otherwise.

$ cp app/local_settings.example.py app/local_settings.py

Running database migrations

Now we need to run the database migrations in order to get a working database.

(env) $ python manage.py migrate

Creating a superuser

In order to access Django admin, we need a superuser.

(env) $ python manage.py createsuperuser
Username: t2
Email address: t2@google.com
Password (again): 
Superuser created successfully.

Running the server

(env) $ python manage.py runserver 8001
Starting development server at
Quit the server with CONTROL-C.

As you've guessed, you can access it at


Sometimes Django is difficult.

django.db.utils.OperationalError: no such table: core_user

This means you haven't yet run the migrations. See above.

Updating the models

If you make changes to the database models, you will need to create new migrations. Do this like so:

(env) $ python manage.py makemigrations

Afterwards, we can apply them as normal.

(env) $ python manage.py migrate