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

how to use env file? #155

Open
gugelshit9 opened this issue Jun 15, 2024 · 1 comment
Open

how to use env file? #155

gugelshit9 opened this issue Jun 15, 2024 · 1 comment

Comments

@gugelshit9
Copy link

gugelshit9 commented Jun 15, 2024

How to use the env instead rustus --host "0.0.0.0" --port 1081 ?
Do i need to create .env files?

@s3rius
Copy link
Owner

s3rius commented Jun 17, 2024

You can create .env file, but it's better to set these variables in your actual env. For example.

RUSTUS_SERVER_HOST="0.0.0.0"
RUSTUS_SERVER_PORT="1081"

Then apply these variables by running source .env and then run rustus.

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