not really known
Go to file
2023-05-28 21:41:25 +03:00
.envs updated readme, docker 2023-05-28 21:41:25 +03:00
compose add files 2023-05-27 11:13:41 +03:00
config resolve confs 2023-05-28 17:24:30 +03:00
locale add files 2023-05-27 11:13:41 +03:00
logs added logs 2023-05-19 20:16:21 +03:00
parsers add files 2023-05-27 11:13:41 +03:00
passfinder updated readme, docker 2023-05-28 21:41:25 +03:00
.dockerignore updated readme, docker 2023-05-28 21:41:25 +03:00
.editorconfig add files 2023-05-27 11:13:41 +03:00
.env.template added periodic tasks 2023-05-27 18:50:14 +03:00
.gitattributes add files 2023-05-27 11:13:41 +03:00
.gitignore add files 2023-05-27 11:13:41 +03:00
.pre-commit-config.yaml add files 2023-05-27 11:13:41 +03:00
.pylintrc add files 2023-05-27 11:13:41 +03:00
data4.json add files 2023-05-27 11:13:41 +03:00
local.yml add files 2023-05-27 11:13:41 +03:00
manage.py added periodic tasks 2023-05-27 18:50:14 +03:00
poetry.lock added periodic tasks 2023-05-27 18:50:14 +03:00
production.yml add files 2023-05-27 11:13:41 +03:00
pyproject.toml added periodic tasks 2023-05-27 18:50:14 +03:00
pytest.ini add files 2023-05-27 11:13:41 +03:00
README.md updated readme, docker 2023-05-28 21:41:25 +03:00
requirements.txt add files 2023-05-27 11:13:41 +03:00
setup.cfg add files 2023-05-27 11:13:41 +03:00

Pass Finder

Логика проекта и структура данных

Basic Commands

Load data

be sure to create .env file in top directory(clone .env.template)

$ ./manage.py migrate
$ ./manage.py loaddata data.json

data.json can be downloaded here: https://akarpov.ru/media/passfinder/data.json

Runserver

$ ./manage.py runserver_plus

Type checks

Running type checks with mypy:

$ mypy passfinder

Running tests with pytest

$ pytest

Setting Up Your Users

  • To create a superuser account, use this command:

    $ python manage.py createsuperuser
    

Celery

This app comes with Celery.

To run a celery worker:

celery -A config.celery_app worker -B -l warning

made with cookiecutter-django