I’m developing my app locally on `<http://dev.app....
# help
d
I’m developing my app locally on
<http://dev.app.mycoolsite.com|dev.app.mycoolsite.com>
,
<http://dev.api.mycoolsite.com|dev.api.mycoolsite.com>
and
<http://dev.mycoolsite.com|dev.mycoolsite.com>
. I haven’t yet pushed to prod because I don’t really have anything
prod
worthy yet. So my workflow is typically
Copy code
develop locally => push to main (this runs test etc… and deploys to dev)
Is there any reason that I should, or should not, promote to
prod
.
m
I typically have merges to main deployed automatically to a lower environment. Once those changes are verified to be production ready (whether it be on lower-env integration tests or QA, etc) I have deploys to prod happen based on the creation of a git tag (or a git release which is just a tag with some meta data)
a
if you don't have anything prod worthy, I see no reason why you'd want to go there
but like I just noticed, it's probably a good idea to do an sst deploy some time before you plan to go live, because it generated some problems that didn't appear with sst start
namely the bcrypt lib couldn't be built, because it was missing some modules that it didn't miss during sst start for some reason
d
Thanks for the answers ya’ll!
f
sorry to hi-jack this thread 😁 @Adrian Schweizer how did u fix the bcrypt issue in the end?
a
@Frank I just had to install those modules it was complaining about, I think it was mock-aws-s3 and nock