sst.dev icon indicating copy to clipboard operation
sst.dev copied to clipboard

Add information about renaming env.example to .env to avoid confusion…

Open josefnorlin opened this issue 4 years ago • 3 comments

… in the forum

josefnorlin avatar Aug 08 '20 14:08 josefnorlin

Thank you!

Can you point me to the forum thread about the issue with renaming the env file at this step as opposed to later?

jayair avatar Aug 16 '20 23:08 jayair

Look at the bottom here of this thread, paulfries 24 days ago: https://discourse.serverless-stack.com/t/add-a-create-note-api/125 I had the same issue. Seems like dotenv demands a .env file and if you follow the guide from start to here, that hasn't happened yet.

The other change helps regarding this discussion: https://discourse.serverless-stack.com/t/add-a-get-note-api/132 where both Ihenkel and I were in the wrong folder running the command.

josefnorlin avatar Aug 17 '20 06:08 josefnorlin

@josefnorlin Ah for the .env, it's more of a warning. Let's leave that as is for now. In the future I might reorganize the steps.

But let's add the wrong folder issue. Do you mind editing the .env part out for now?

jayair avatar Sep 06 '20 16:09 jayair