Scott
05/06/2022, 1:30 AMCarlos Daniel
05/06/2022, 2:19 AMlocal-amazingproject. if I run sst deploy, that stage will be deployed. if I run sst start, it'll take the deploy down and get back to work locally, as it does with lambdas and etc.
at least that's what I think is happening to youScott
05/06/2022, 2:26 AMFrank
sst start --stage frank) and live (ie. sst deploy --stage dev)Frank
new NextjsSite(stack, "Site", {
path: "path/to/site",
disablePlaceholder: true,
});Scott
05/06/2022, 3:01 AMdev backend wouldn't get altered to use my handlers
With disablePlaceholder, would that mean I can use the live lambda development without interrupting my frontend?Frank
if I was to use a different stage, this would mean I would get a completely separate environment right?Yeah, you’d sst start in
stageA and sst deploy to stageB. The two stages can even be in different AWS accounts. For example, I run sst start --stage frank and that deploys to my personal AWS playground account. I actually don’t run sst deploy from my local. I would git push, and CI run sst deploy --stage dev.
With disablePlaceholder, would that mean I can use the live lambda development without interrupting my frontend?Yes.
Scott
05/06/2022, 4:12 AM