Go to file
Liam e27daf5828 add honeypot 2021-06-30 14:39:13 +02:00
ansible add translation of website 2021-06-07 22:31:40 +02:00
backend add honeypot 2021-06-30 14:39:13 +02:00
config add coma 2021-06-08 00:55:04 +02:00
doc small db to start with 2021-06-25 03:19:46 +02:00
front-map ajax and friends 2021-06-25 16:22:50 +02:00
front-vue update santiagos code 2021-06-10 17:15:41 +02:00
.env.example first commit 2021-06-07 13:52:25 +02:00
.gitignore install geoseach and overpass 2021-06-16 03:05:10 +02:00
README.md small db to start with 2021-06-25 03:19:46 +02:00
schema.yml first commit 2021-06-07 13:52:25 +02:00

README.md

Readme for birdsView

Architecture

This Sofware is made up of different apps

Collect

Preserve

Process

Verify

Investigate

Inspirations

Install Python and Docker

Install the Dependencies

sudo apt install python3-pip docker.io

Create a virtual env for this project

python3 -m venv env

Create your Environment Variables

cp .env.example .env

Set the correct password and user names and then source the .env variables and the env file for python

source .env
source env/bin/activate

Then setup a virtual env for pip in the folder env

pip3 install -r requirements.txt

Setup a the Database with a volume which is persisted

 docker volume create pg_data
 docker run --name=postgis -d -e POSTGRES_USER=$PG_USER -e POSTGRES_PASS=$PG_PASS -e POSTGRES_DBNAME=$PG_NAME \
  -e ALLOW_IP_RANGE=0.0.0.0/0 -p 5432:5432 -v pg_data:/var/lib/postgresql --restart=always kartoza/postgis:9.6-2.4 

Change the directory to the Backend

cd birdsView

Next step is to create the database migration and then run the migrations

 python manage.py makemigrations 
 python manage.py migrate

Now create a administrator for the website and provide a secure password

python manage.py createsuperuser  --email admin@example.com --username admin

Now you can start the server

 python manage.py runserver
 python manage.py runserver_plus

To group all the application and output into PNG file

python manage.py graph_models vista -o imagefile_name.png

These are the URLs which currenty work:

Here is our API

Here is the Backend for the Admin

Here is the Admin Panel for the Telegram Bots

Guides

Backend

Frontend

Telegram

Interviews

Honk Kong