Kujtim Hoxha
07/28/2021, 3:00 PMsst start
?thdxr
07/28/2021, 3:16 PMKujtim Hoxha
07/28/2021, 3:17 PMKujtim Hoxha
07/28/2021, 3:18 PMKujtim Hoxha
07/28/2021, 3:19 PMJay
Kujtim Hoxha
07/28/2021, 5:55 PMKujtim Hoxha
07/28/2021, 5:56 PMKujtim Hoxha
07/28/2021, 5:57 PMJay
I did is to add the UI related stack only when I run deploy
Jay
Kujtim Hoxha
07/28/2021, 9:18 PMif (!process.env.IS_LOCAL) {
new Sitetack(app, 'SiteStack', apiStack.api, authStack.auth);
}
Jay
thdxr
07/29/2021, 1:07 PMsst start
for local devKujtim Hoxha
07/29/2021, 1:09 PMsst start --stage {developer_name}
for local development and those environments won’t get deployed ever, in addition @thdxr is right, if I remember right sst start
builds the UI also and in our case that is time wastedJay
Frank
sst start
doesn’t build the frontend app, instead a stub site is deployedKujtim Hoxha
07/30/2021, 7:13 PMthdxr
07/30/2021, 8:45 PMFrank
sst start
after sst deploy
, it’d need to deploy the stub site again.Frank
sst start
and then restart it, it shouldn’t get deployed through CF again.