.env file won’t come?

When I try to make a new file named “.env” it says “You cannot create .env files anymore, checkout the environment variable sidebar”

@Teakki Welcome to the forum.

If Repl.it does not allow you to create .env files there is another way to add your environmental variables. Check the lock icon in the sidebar.

I was able to locate this document to assist you.

It appears that Replit is rolling out a new UI to users.

3 Likes

Hi @Teakki !

This change was made about a month ago.
I would suggest reviewing the documentation that @brandon_wallace gave you.

But the process is quite simple.

Here is a visual.

2 Likes

I followed this:

# super secret token
TOKEN=38zdJSDF48fKJSD4824fN
DB_USERNAME="admin" # this one has quotes :)
DB_PASSWORD=w0ws0secure!!

And when I run the replit it does nothing. (For context it should type “The person currently assisting you is Tea Bot”

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.