Hey @prologic@twtxt.net, back to the pod, is there any documentation about .yarnc.yaml?
@oevl@twtxt.net No! None whatsoever! 😅 Do you wanna write some? 🤔
To start you only need :
A .yarnc.yml with the following on it
uri: https://twtxt.net/user/oevl/twtxt.txt
@tkanos@twtxt.net is right. That’s it!
But also doesn’t yarnc login
create and populate this file with the url
and token
anyway? I thought it did? 🤔
@prologic@twtxt.net it didn’t, if you do that you will have 2 errors, because the login doesn’t know where to send it’s request.
WARN[0000] error loading config file: ~/.yarnc.yml error="open ~/.yarnc.yml: no such file or directory"
ERRO[0011] error making login request error="Post \"http://localhost:8000/api/v1/auth\": dial tcp 127.0.0.1:8000: connect: connection refused"
I know, it took me to read all the code to create that .yarnc.yml file, the first time.
PS: The yarnc login (when everything set) will only populate the token one.
@tkanos@twtxt.net We should improve this!