Simplify your stack and build anything. Or everything.
Build tomorrow’s web with a modern solution you truly own.
Code-based nature means you can build on top of it to power anything.
It’s time to take back your content infrastructure.

payload cloud environments

default discord avatar
__scooba__5 months ago
12

Any updates on this? I am a recent Payload Cloud Pro customer and I do notice that in the breadcrumbs a "Prod" environment is listed. The main benefit for us that different environments would provide is when we do large schema changes. Would be nice to have a branch with those changes deployed to a staging environment where our front-end on that branch points to.

  • default discord avatar
    lamejaxlast year
    @967118574445547650

    How far along is Multi Environments? I didn't find any information on your website 🙂

  • discord user avatar
    denolfe
    2 years ago

    If I understand you correctly, yes, correct. Essentially, you can create a

    draft version

    of a post, edit it how you want, then

    publish

    that version when ready. The front-end web would always look at the published version (the default api route - drafts can be accessed by adding

    ?drafts=true

    )

  • default discord avatar
    nball2 years ago

    Which then begs the question: are drafts on the backend, and staging is the front end? That probably makes the most sense.



    Where the changes are occurring on both the back and front ends.



    Please forgive my ignorance on the subject, but in the case of visual and structural changes to pages or branches of pages, that is outside the scope of drafts, correct?

  • discord user avatar
    denolfe
    2 years ago

    For this use case, I think using the "drafts" functionality is an option. The preview example is a good place to start in addition to that.

  • default discord avatar
    nball2 years ago

    In fact, one of my to do's today is to test the preview example.



    @967118574445547650

    I'm certainly no architect! The pattern of dev/stage/prod is sort of baked in with the business folks. That said I've only played with Sanity a bit before discovering Payload. NICELY DONE!!! are you suggesting possibly using preview functionality rather than staging? If so, I'm very interested.

  • discord user avatar
    denolfe
    2 years ago

    Hey

    @511305637959827459

    , that is our goal, and it's great to know that that particular feature is important to you. We can attempt to hit that date.



    Is the way Wordpress implements environments the best way to implement this in your mind? I'm curious if you've had the opportunity to try any other products/services that implement this well? Contentful, Sanity, etc.

  • default discord avatar
    nball2 years ago
    @364124941832159242

    @967118574445547650

    would it be safe to say multiple environments will be supported when the beta period ends? I ask because I just sold a client on migrating away from WordPress, thank gawd. They're accustomed to reviewing changes on staging before going live. If not, I suppose I could just run 2x pro instances until it's ready.

  • discord user avatar
    denolfe
    2 years ago
    @463068458167435264

    This option will be only be for pro / enterprise

  • default discord avatar
    mattddean2 years ago

    Hey James, congrats on the launch! Exciting stuff! Which plans will support multiple environments?

  • default discord avatar
    damnstaychill2 years ago

    Awesome, that works for us.

  • discord user avatar
    jmikrut
    2 years ago

    right now, it's just one environment, but the backend plumbing is all set up to launch more and all of that will be coming soon



    this will be deployed next up

  • default discord avatar
    damnstaychill2 years ago

    Going through setup now for a project. Is there a place to configure stage / production environments? Or is that not supported yet

Star on GitHub

Star

Chat on Discord

Discord

online

Can't find what you're looking for?

Get dedicated engineering support directly from the Payload team.