Ask coding questions

← Back to all posts
where can I find side bar
nanasv (0)

am trying to create, .env file and all I see error message: that I cannot create more .env file that I should check environment variable side bar. What should I do, or where can I find the side bar

Answered by Bookie0 (6267) [earned 5 cycles]
View Answer
Comments
hotnewtop
Bookie0 (6267)

You can't make .env files anymore, you'll have to use this new GUI by clicking the lock icon in the sidebar (near where the files are kept). Then you just enter the name of a key and its value. And in the repl, you do import os, and my_secret = os.environ['name of your key here']. Good luck! :)

Bookie0 (6267)

no problem! :D Mark as correct answer (if it helped :) @nanasv

nanasv (0)

@Bookie0
Just to click the up face arrow right. I just did and it mark 2,hope that is it.

Bookie0 (6267)

@nanasv Oh those are upvotes, that's a bit different. Marking an answer as correct (if the person has helped you and it's what you're looking for) can be done by clicking the checkmark next to a comment:

:)

nanasv (0)

@Bookie0
you sound so interested in it does it pay??.lol
okay I understand. Ah, I have already join the Discord and it super depend on friends user name and tag.
can you help me with yours,or any one to add or invite, thanks.

Bookie0 (6267)

@nanasv uh you want my discord tag? It's Bookie0#7538 :)

Coder100 (18123)

it's this thing, its called the lock icon.

nanasv (0)

@Coder100
thanks; but how can i get access to create .env

RoBlockHead (520)

@nanasv you cannot create a .env file anymore. You just put your secrets in that new panel.

[deleted]

This one?

[deleted]

take a photo first then tell me

[deleted]

Hi can you take a picture?

nanasv (0)

@anasad
you mean error pictures

[deleted]
[deleted]

@nanasv nah i did well for me it dosnent show the check thing so check mine: