rundel / livecode

GNU General Public License v3.0
118 stars 10 forks source link

Unable to locate bitly token #3

Open staceyhancock opened 4 years ago

staceyhancock commented 4 years ago

I am getting the following error when starting the server:

> server = livecode::serve_file(bitly = TRUE)
✔ Started sharing 'LiveCodeLink.R' at 'http://10.152.139.174:26196'.
✖ The current ip address ('10.152.139.174') for the server is private, only users on the same local 
network are likely to be able to connect.
✖ Failed to create bitlink: Unable to locate bitly token, please use `bitly_set_token` or define the 
BITLY_PAT environmental variable.

Do you know how to remedy this error? I'm not sure how to use bitly_set_token or to define a BITLY_PAT environmental variable.

rundel commented 4 years ago

My laziness to get the documentation in order is showing. I've added a brief description of the process to obtain the bitly PAT to the readme. If there is anything that is confusing about the process please let me know.

I'll be adding documentation to the bitly functions as well later on, leaving this open until I get that fixed as well.