mirror of
https://github.com/Alexander-D-Karpov/akarpov
synced 2024-11-24 13:33:44 +03:00
.envs | ||
.github | ||
akarpov | ||
compose | ||
config | ||
docs | ||
locale | ||
logs | ||
redirect | ||
search | ||
.dockerignore | ||
.editorconfig | ||
.env.example | ||
.gitattributes | ||
.gitignore | ||
.pre-commit-config.yaml | ||
.pylintrc | ||
.readthedocs.yml | ||
CONTRIBUTORS.txt | ||
LICENSE | ||
local.yml | ||
manage.py | ||
merge_production_dotenvs_in_dotenv.py | ||
models.png | ||
poetry.lock | ||
production.yml | ||
prof_start.py | ||
pyproject.toml | ||
pytest.ini | ||
README.md | ||
setup.cfg | ||
spacy_setup.sh |
akarpov
My collection of apps and tools
Writen in Python 3.11 and Django 4.2
Local upstream mirror: https://git.akarpov.ru/sanspie/akarpov
Start up
installation
$ poetry install & poetry shell
$ python3 manage.py migrate
local run
$ python3 manage.py runserver
$ celery -A config.celery_app worker --loglevel=info
$ uvicorn redirect.app:app --reload
local run via docker
$ docker-compose -f local.yml up
Install file preview dependencies
$ docker-compose -f local.yml exec django /install_preview_dependencies
- server - http://127.0.0.1:8000
- mail - http://127.0.0.1:8025
refactoring code
$ pre-commit install
$ black akarpov
$ no_implicit_optional akarpov
$ mypy --config-file setup.cfg akarpov
list of projects:
- blog
- fileshare
- music radio + processor
- test platform
- short link generator
- about me app
- gallery
- notifications