appwrite / templates

Templates for Appwrite Functions ⚡️🌩️
https://appwrite.io
MIT License
121 stars 87 forks source link

Feat : Implement sync with Meilisearch using php #222

Closed Harsh3341 closed 11 months ago

Harsh3341 commented 12 months ago

What does this PR do?

Implement a sync with meilisearch using php

Test Plan

Screencast from 23-10-23 03:14:41 PM IST.webm

Related PRs and Issues

194

Have you read the Contributing Guidelines on issues?

Yes

Harsh3341 commented 12 months ago

will commit some changes

Harsh3341 commented 12 months ago

@gewenyu99 I wrote the required code, but now for testing, I ran the appwrite locally created a new function, and uploaded sync-with-meilisearch there as a .gz file then it is built successfully, now when I try to visit the deployed domain with /index.php I receive the below error in execution

Unsupported logs detected. Use $context->log() or $context->error() for logging. Warning: file_get_contents(/index.html): Failed to open stream: No such file or directory in /usr/local/server/src/function/src/utils.php on line 14

loks0n commented 12 months ago

@gewenyu99 I wrote the required code, but now for testing, I ran the appwrite locally created a new function, and uploaded sync-with-meilisearch there as a .gz file then it is built successfully, now when I try to visit the deployed domain with /index.php I receive the below error in execution

Unsupported logs detected. Use $context->log() or $context->error() for logging. Warning: file_get_contents(/index.html): Failed to open stream: No such file or directory in /usr/local/server/src/function/src/utils.php on line 14

This is telling you that the file_get_contents call is not working. If you are struggling to debug the issue please reach out on our community discord for assistance

Harsh3341 commented 11 months ago

Please provide a test video

Yup, added a video and also readme

Harsh3341 commented 11 months ago

Just a few small changes

Done :shipit:

loks0n commented 11 months ago

Amazing - thanks for your contribution!

Harsh3341 commented 10 months ago

Discord Username - .harshgupta