معرفی شرکت ها


djangoldp-like-0.0.3


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

DjangoLDP Like
ویژگی مقدار
سیستم عامل -
نام فایل djangoldp-like-0.0.3
نام djangoldp-like
نسخه کتابخانه 0.0.3
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Startin'blox
ایمیل نویسنده benoit@paris.happy-dev.fr
آدرس صفحه اصلی http://git.happy-dev.fr/startinblox/djangoldp-packages/djangoldp-like
آدرس اینترنتی https://pypi.org/project/djangoldp-like/
مجوز MIT
# Django LDP Like ## Context The goal of this repository is to make available to all of our models a Like feature, covering the like action, dislike action, and count of both use cases. The like Model will be related to an IDURLField targetting users/ so that we will be able to relate the users and their likes in a distributed world. Would ideally be implemented in a way which makes it compatible with the [ActivityPub Like Activity](https://www.w3.org/TR/activitypub/#like-activity-outbox) Add your package in settings.py of the app. Now, you can test if your package is imported propefully by doing a `python manage.py shell` then from djangoldp_myawesomepackage.models import ExampleModel If, no error, it's working. ## Planning 1. Make it work: Being able to post a like, a dislike. Being able to retrieve the count of likes and dislikes for a given resource Being able to do that on the federation instance bearing the current user identity 2. Make it clean Test it in the context of the federation Ensure we stay compliant with the activityPub specification ## CICD When you're ready to publish your app : 1. Add the `sib-deploy` user as a `maintainer` to the project (`Settings > Members`) 2. Configure `pipeline strategy` to `clone` (`Settings > CI/CD > Pipelines`) 3. Protect the `master` branch allowing only `maintainers` to push (`Settings > Repository > Protected branches`) 4. Configure CI/CD variables to authenticate on pypi.org: Variable | Value | Protection ----------------|--------------------|----------- `GL_TOKEN` | `sib-deploy-token` | protected `PYPI_PASSWORD` | `pypi-password` | protected `PYPI_USERNAME` | startinblox | protected 5. Replace the "do_not_publish" by "master" in the .gitlab-ci.yml ### Factories If you dont need factory, you can remove the mock_example command, the factories files and the extras_require section in setup.cfg Provide a factory is a good pratice in order to simplify the mocking of data on a server / in a test pipeline.


نیازمندی

مقدار نام
~=0.5 djangoldp


نحوه نصب


نصب پکیج whl djangoldp-like-0.0.3:

    pip install djangoldp-like-0.0.3.whl


نصب پکیج tar.gz djangoldp-like-0.0.3:

    pip install djangoldp-like-0.0.3.tar.gz