Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.env appears to be ignored, app won't start #1

Open
pslocom opened this issue Sep 13, 2024 · 1 comment
Open

.env appears to be ignored, app won't start #1

pslocom opened this issue Sep 13, 2024 · 1 comment

Comments

@pslocom
Copy link

pslocom commented Sep 13, 2024

When following the README to start the app locally I created the following .env file:

STEAM_KEY = "DE...3D"
PORT = "80"
DEV = "true"

When running go run main.go I see the following output:

2024/09/13 08:20:35 Required PORT environment variable not present
@taiidani
Copy link
Owner

Ah, the README might not be clear enough about that. The automatic loading of the env file requires mise to be set up. There's a mise configuration to load the file.

I'll make that more prominent in the README. Any method of exporting the env vars works as well!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants