Installation from the sources

This guide will explain how to setup Prophecies using the sources.

Prerequisites

  • Python 3.9

  • Node 16.x

  • Poetry >= 1.2

  • Yarn 1.x

  • Git

Setup steps

Checkout the repository with git:

git clone git@github.com:ICIJ/prophecies.git
cd prophecies/

After entering the directory, setup a virtualenv with poetry and to install required packages:

make install

To setup the database (using SQLite3 by default):

make migrate

To create a superuser:

make createsuperuser

For more customization, this app utilizes 12factor inspired environment variables to configure your Django application. You can create .env file using the custom settings variables:

The application can be configured with many environment variables.

Last updated