It is the repo with sources of project Python Digest (site - https://pythondigest.ru/ ) Python Digest is an aggregator of Python News We aggregator many different links from Python World:
- books
- articles
- meetups
- releases
- etc
PythonDigest is a Open Source
project!
We use Python 3
and poetry
In general, we follow the "fork-and-pull" Git workflow.
We develop in
develop
branch
- Fork the repo on GitHub
- Clone the project to your own machine
- Commit changes to your own branch
- Push your work back up to your fork
- Submit a Pull request so that we can review your changes
NOTE: Be sure to merge the latest from "upstream" before making a pull request!
We recommend to use
git-flow
Clone project
git clone https://github.com/pythondigest/pythondigest.git
Create install poetry
by https://python-poetry.org/docs/#installation:
cd pythondigest
make requirements # or poetry install
Init database and install some fixtures:
poetry run python manage.py migrate
poetry run python manage.py migrate --run-syncdb
poetry run python manage.py loaddata digest/fixtures/sections.yaml
poetry run python manage.py loaddata digest/fixtures/parsing_rules.json
Create super user
poetry run python manage.py createsuperuser
Ok! You are ready for work with Python Digest! (runserver...)
For developers:
poetry run python manage.py loaddata digest/fixtures/dev_issues.yaml
poetry run python manage.py loaddata digest/fixtures/dev_resource.yaml
poetry run python manage.py loaddata digest/fixtures/dev_items.yaml
make test # or poetry run python manage.py test
Обновить Django до 5.2+