We use docker to run the project.
Docker can't help for some devices. If the project does not work with Docker, Docker Toolbox will help you.
To build the project:
docker-compose -p todo -f docker/docker-compose.yml -f docker/docker-compose.dev.yml build
To run the project:
docker-compose -p todo -f docker/docker-compose.yml -f docker/docker-compose.dev.yml up -d
To restart the project:
docker-compose -p todo -f docker/docker-compose.yml -f docker/docker-compose.dev.yml restart
To stop the project:
docker-compose -p todo -f docker/docker-compose.yml -f docker/docker-compose.dev.yml stop
To see logs:
docker-compose -p todo -f docker/docker-compose.yml -f docker/docker-compose.dev.yml logs -f --tail 50
To status docker containers:
docker-compose -p todo -f docker/docker-compose.yml -f docker/docker-compose.dev.yml ps
To load init data:
docker exec -i -t todo_backend_1 /bin/bash
python manage.py initdb
To run tests:
docker exec -i -t todo_backend_1 /bin/bash
coverage run manage.py test --noinput && coverage html --skip-covered
This is a list of mostly used awesome technologies and libraries that are used in Todo Project:
-
Python: Python is an interpreted high-level programming language for general-purpose programming.
-
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.
-
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.
- Kenan Subaşı - kenansubasiceng@gmail.com