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

Insufficient set up instruction #3

Open
whensonZWS opened this issue Jun 10, 2021 · 1 comment
Open

Insufficient set up instruction #3

whensonZWS opened this issue Jun 10, 2021 · 1 comment

Comments

@whensonZWS
Copy link

There is no mentioning of where I should put in the bot token, so I went into the file structure and search for a config file.
I supposed it's the config.toml file,
and the file mentioned more settings than just the token

[SpeedTest]
Path = "$SPEEDTEST_PATH"
Flag = "$SPEEDTEST_FLAG"

[DB]
DBFile = "$DB_NAME"
Debug = "$DB_DEBUG_FLAG"

[Telegram]
Token = "$API_TOKEN"

[Logging]
Level = "$LOG_LEVEL"
Format = "$LOG_FORMAT"

So am I supposed to set up all these configuration like database and speedtest path in this configuration file? It's not obvious how to set up these variables and there is no comment to help me out.
If I am supposed to set up all these variable, what kind of database should I set up? And where should I put the speed test CLI in the folder? Or is it okay that if I just reference it in the Path ? And how about the Flag? Does it refer to the speed test CLI flag?

Btw, the command line instruction are Linux specific, export doesn't really work on windows :(

@acidburn132
Copy link

There is no mentioning of where I should put in the bot token, so I went into the file structure and search for a config file. I supposed it's the config.toml file, and the file mentioned more settings than just the token

[SpeedTest]
Path = "$SPEEDTEST_PATH"
Flag = "$SPEEDTEST_FLAG"

[DB]
DBFile = "$DB_NAME"
Debug = "$DB_DEBUG_FLAG"

[Telegram]
Token = "$API_TOKEN"

[Logging]
Level = "$LOG_LEVEL"
Format = "$LOG_FORMAT"

So am I supposed to set up all these configuration like database and speedtest path in this configuration file? It's not obvious how to set up these variables and there is no comment to help me out. If I am supposed to set up all these variable, what kind of database should I set up? And where should I put the speed test CLI in the folder? Or is it okay that if I just reference it in the Path ? And how about the Flag? Does it refer to the speed test CLI flag?

Btw, the command line instruction are Linux specific, export doesn't really work on windows :(

did you find configs ?

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