Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Eldad A. Fux
    @eldadfux
    @fosteman Did your problem solved? Can I close your issue?
    Timofei Shchepkin
    @fosteman
    @eldadfux Yes, it's local environment problem.
    Still, I cannot figure out how to push it into local registry. (I am unfamiliar with Docker). Would you please send related material to digest ?
    Eldad A. Fux
    @eldadfux
    What exactly are you trying to accomplish?
    Timofei Shchepkin
    @fosteman
    bash ./build.sh 1.0.0
    The things ends up pushing it into world-registry that you're the owner of
    Eldad A. Fux
    @eldadfux
    This want work for you as it tries to push to the official docker hub account
    if you just want to rebuild the container to see some changes use docker-compose build appwrite
    Timofei Shchepkin
    @fosteman
    It's the first time build. How would I startup a docker image locally ?
    Eldad A. Fux
    @eldadfux
    although most changes to PHP code in dev mode will show instantly without needing to restart or rebuild the container
    Timofei Shchepkin
    @fosteman
    Ah. Well, it's the same command.
    Eldad A. Fux
    @eldadfux
    I think its best to read first about some docker concepts so you wont get confused with how to setup the images locally. If you are trying to achieve anything specific I might be able to guide you.
    Timofei Shchepkin
    @fosteman
    @eldadfux Thanks a lot for your help and direction.
    Eldad A. Fux
    @eldadfux
    @fosteman sure! anytime!
    Ricci Dorian
    @doricci
    Hello, does the api key generated from the dashboard of the application contains all the available scope for calling the api? Because I'm trying to use the auth and account service from the JS SDK and I get a 401 that say that: "(role: application) is missing scope (account)" for the account service & ".... (auth)" for the auth service.
    I'm giving the correct project & correct key to the request.
    Eldad A. Fux
    @eldadfux
    image.png
    Hi @doricci , you don’t need to pass API key in client integration.
    @doricci and here is another resource to better understand the difference between client and server integrations: https://appwrite.io/docs/admin
    Ricci Dorian
    @doricci
    Yes I read that I don't need to give the api key in my client and that it's better to not use it at all, but I'm just playing with the backend without creating a concret app for now so it's the fastest way to test the backend.
    But if there is no other way, I'll try to create a base app, that will handle the registration of a user and the login before continuing playing with the back-end
    Eldad A. Fux
    @eldadfux
    If you want to create new users from the backend API you can use the ’users’ service
    Ricci Dorian
    @doricci
    Thank you, I'll try to play with all the service without any key to understand how it should work normally in a real app.
    Eldad A. Fux
    @eldadfux
    Sure, waiting for feedback 🤘
    Ricci Dorian
    @doricci
    Is there a way to disable the rate limit or to customize it?
    Eldad A. Fux
    @eldadfux
    Not yet, what is the scenario where you need to change it?
    Ricci Dorian
    @doricci
    while testing without any key as a guest user, to see how the backend work, because it seem's that I'm missing something to be able to register or to login with the sdk so I exceeded the 60 request/hour
    But it it's not yet the case, I won't be able to change it any way
    Daniel Munch
    @Dmunch04
    Hi! Nice to meet you All!
    Eldad A. Fux
    @eldadfux
    Actually, login and register are limited to 10 attempts per hour 😅
    Hi @Dmunch04 !
    Daniel Munch
    @Dmunch04
    Hey!
    Eldad A. Fux
    @eldadfux
    @Dmunch04 has offered his help with the python client!
    I actually learned python while writing current inmlementation, never been fully tested as stated in the docs.
    same about ruby
    Ricci Dorian
    @doricci
    haha ok so it will be difficult to test it for now :sweat_smile:
    But thank anyway for the answers !
    Eldad A. Fux
    @eldadfux
    @doricci you can change the source code if you want
    change the limit if you need, but you need to setup the stack as real dev setup like stated here: https://github.com/appwrite/appwrite/blob/master/CONTRIBUTING.md#setup
    Ricci Dorian
    @doricci
    I'll try it during the week
    Eldad A. Fux
    @eldadfux
    🤘let me know how it works for you or if you need any help
    Ricci Dorian
    @doricci
    I'll keep you in touch, thx!
    Eldad A. Fux
    @eldadfux
    And if anyone is in Tel Aviv 😅 this Wednesday I am giving a short talk about Appwrite:
    https://www.meetup.com/Open-Source-and-Free-Software-in-Israel/events/264667597
    Daniel Munch
    @Dmunch04
    So if I may ask, what's the main reason you're using templates? I don't see a lot of pros when looking in multiple perspectives
    Eldad A. Fux
    @eldadfux
    Well there a couple of reasons...
    Daniel Munch
    @Dmunch04
    Oh. Do you mind sharing? I would really like to know
    Eldad A. Fux
    @eldadfux
    1. Its a great way to make sure the API Spec and SDKs are fully synced
    2. It allows us to generate multiple SDKs in one go, espcially as we are a very small team.
    3. It allows us to better enforce standards and consistency accross different languages for better developer experience.

    and some more…

    I actually wrote a few words about this on medium. I will search for the link...

    Daniel Munch
    @Dmunch04
    Aha
    I see. Well I see the pros. But the way I see it there's still more cons. But even tho I may not agree with it, then I still see the good things in it. And it's also pretty cool. I just need to figure out how to use it
    Eldad A. Fux
    @eldadfux
    There is defiantly a learning curve there, but I have seen it working really well and saves huge amount of time once getting the hang of it.
    Main thing is that in the bottom line there is one language generating everything (in this case, PHP) and pepole coming from different ecosystemS might find it hard to adjust.
    Daniel Munch
    @Dmunch04
    Do you mind maybe guiding me through how I would update the generator code. I have no clue what to change and I don't wanna mess anything up. @eldadfux
    Eldad A. Fux
    @eldadfux

    @Dmunch04 the best way to start is by reading this:
    https://github.com/appwrite/sdk-generator/blob/master/CONTRIBUTING.md

    Take a look at the readme as well, and I am here if anything is missing in this docs.