https://twill.io logo
Join Discord
Powered by
# ❓questions
  • p

    pboivin

    07/02/2021, 2:12 PM
    "Work" then links to the first item of the subnav
  • u

    user

    07/02/2021, 2:12 PM
    Ah, that makes sense now, I was wondering what the route was supposed to point at.
  • u

    user

    07/02/2021, 2:12 PM
    Thanks
  • v

    void

    07/02/2021, 4:17 PM
    I just installed twill on a new Laravel 8 project to learn it better as It is used in someone elses project I'm in
  • v

    void

    07/02/2021, 4:18 PM
    I am trying to use the media library having it upload on the server/laravel the images I added these to .env "MEDIA_LIBRARY_ENDPOINT_TYPE=local MEDIA_LIBRARY_LOCAL_PATH=uploads/ MEDIA_LIBRARY_IMAGE_SERVICE=A17\Twill\Services\MediaLibrary\Glide "
  • v

    void

    07/02/2021, 4:18 PM
    and when I upload an image I dont see it anywhere in my app and in the browser isnt loading and seem to be on /img
  • v

    void

    07/02/2021, 4:21 PM
    hmm probably exif dependency issue
  • v

    void

    07/02/2021, 4:22 PM
    Yes that was it
  • v

    void

    07/02/2021, 4:24 PM
    still I cant find the image file anywhere in the app 😄
  • p

    pboivin

    07/02/2021, 4:25 PM
    Your uploads should land in
    storage/app/public/uploads
  • v

    void

    07/02/2021, 4:25 PM
    right! thanks @User
  • v

    vianney

    07/02/2021, 8:32 PM
    hi there I had a question when running php artisan twill:dev is it possible to change the default development for local http://localhost:8081 to a different address if we use a docker container?
  • i

    ifox

    07/02/2021, 8:39 PM
    yes, with the
    TWILL_DEV_MODE_URL
    env variable
  • u

    user

    07/03/2021, 11:31 AM
    Anyone that could give me a hint? I suck at these errors 😄
  • i

    ifox

    07/03/2021, 11:36 AM
    @User seems like you have spatie/once ^3 in your composer.json and Twill is already including ^2. I'll try to reproduce this, for now can you try removing spatie/once from your dependencies?
  • u

    user

    07/03/2021, 11:57 AM
    Its becauae of Nova that uses it. Seems like when removing Nova its working. Ill check soon, needed to get downstairs
  • u

    user

    07/03/2021, 12:15 PM
    It worked now
  • u

    user

    07/03/2021, 9:02 PM
    @User Does every field needs to be nullable? Looks like it but I 100% do not want that 🙂
  • i

    ifox

    07/03/2021, 9:18 PM
    no, as long as you set validation rules
  • u

    user

    07/03/2021, 9:20 PM
    I do not want to rely on Laravels application rules. I want to have all constraints in the database
  • u

    user

    07/03/2021, 9:20 PM
    Feels very bad practice to have all tables nullable
  • i

    ifox

    07/03/2021, 9:20 PM
    I'm not sure where it says you have to, can you share an example?
  • u

    user

    07/03/2021, 9:21 PM
    Well it looks like by examples and the fact that model comes up
  • u

    user

    07/03/2021, 9:21 PM
    *modal
  • i

    ifox

    07/03/2021, 9:21 PM
    you can disable it
  • u

    user

    07/03/2021, 9:21 PM
    Or did I miss something :), hopefully cause twill seems nice but sometimes over complicated
  • i

    ifox

    07/03/2021, 9:21 PM
    and go directly to the form
  • u

    user

    07/03/2021, 9:21 PM
    Alright awesome! Ill have a look for that
  • i

    ifox

    07/03/2021, 9:21 PM
    which will allow you to save all fields in the create process
  • u

    user

    07/03/2021, 9:22 PM
    Great! Ill mess around this weekend hopefully I can recreate 100% of what i have in nova atm
1...424344...484Latest