kenansubasi / cognitus

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cognitus

Installation

We use docker to run the project.

Download Docker

Docker can't help for some devices. If the project does not work with Docker, Docker Toolbox will help you.

Download Docker Toolbox

How to Run?

To build the project:

docker-compose -p cognitus -f docker/docker-compose.yml -f docker/docker-compose.dev.yml build

To run the project:

docker-compose -p cognitus -f docker/docker-compose.yml -f docker/docker-compose.dev.yml up -d

To restart the project:

docker-compose -p cognitus -f docker/docker-compose.yml -f docker/docker-compose.dev.yml restart

To stop the project:

docker-compose -p cognitus -f docker/docker-compose.yml -f docker/docker-compose.dev.yml stop

To see logs:

docker-compose -p cognitus -f docker/docker-compose.yml -f docker/docker-compose.dev.yml logs -f --tail 50

To status docker containers:

docker-compose -p cognitus -f docker/docker-compose.yml -f docker/docker-compose.dev.yml ps

To load init data:

docker exec -i -t cognitus_web_1 /bin/bash
python manage.py initdb

To run tests:

docker exec -i -t cognitus_web_1 /bin/bash
coverage run manage.py test --noinput && coverage html --skip-covered

Technologies

This is a list of mostly used awesome technologies and libraries that are used in cognitus Project:

  • Python: Python is an interpreted high-level programming language for general-purpose programming.

  • Flask: Flask is a lightweight WSGI web application framework.

  • Django: Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design.

  • PostgreSQL: PostgreSQL is a powerful, open source object-relational database system that has strong reputation for reliability, feature robustness, and performance.

  • Django Rest Framework: Django REST framework is a powerful and flexible toolkit for building Web APIs.

  • Celery: Celery is an asynchronous task queue/job queue based on distributed message passing.

  • Redis: Redis is an open source (BSD licensed), in-memory data structure store, used as a database, cache and message broker.

Maintainers

About


Languages

Language:Python 87.7%Language:Shell 11.7%Language:Dockerfile 0.7%