hereswhisper / EonBackend

Eon Backend
MIT License
3 stars 1 forks source link

how do i start it up i keep getting error environment variable has not been set #1

Open DustFN opened 10 months ago

Tiger15cub commented 9 months ago

create a file called .env, and define envirpment veriables like PORT="3551" with each enviroment veriable on a new line. the enviroment veriables will be in all caps in the error

Tiger15cub commented 9 months ago

here is a preconfugured .env file, just change to your stuff and it should work: ADDRESS=127.0.0.1 PORT=3551 XMPP_PORT=3553 DATABASE_URL=mongodb://127.0.0.1/EonBackend SERVICE_URL=ws://127.0.0.1:3552 NETCLI=12582667 WEBHOOL_URL=https://discord.com/api/webhooks/your-webhook-id/your-webhook-token

OGmultiplayercheats commented 6 months ago

here is a preconfugured .env file, just change to your stuff and it should work: ADDRESS=127.0.0.1 PORT=3551 XMPP_PORT=3553 DATABASE_URL=mongodb://127.0.0.1/EonBackend SERVICE_URL=ws://127.0.0.1:3552 NETCLI=12582667 WEBHOOL_URL=https://discord.com/api/webhooks/your-webhook-id/your-webhook-token

where does i need to put this

NuZiuki240Hz commented 3 months ago

Still not working?

Tiger15cub commented 3 months ago

Put the stuff i sent in the other message in a file just called .env, you might need to enable hidden file extentions to name the file correctly