Conversation
| INSERT INTO myury.api_key_auth (key_string, typeid) VALUES ('ARANDOMSTRINGOFCHARACTERS', (SELECT typeid FROM l_action WHERE phpconstant = 'AUTH_APISUDO')); | ||
| ``` | ||
|
|
||
| [please choose a better key than 'ARANDOMSTRINGOFCHARACTERS'] |
There was a problem hiding this comment.
square brackets is markdown syntax - and you should probably give an example of generating a random key like openssl rand -hex 32 - which should come before the SQL statements
| In Config.toml: | ||
|
|
||
| ``` | ||
| myradio_api = "https://{hostname}/api/v2" |
There was a problem hiding this comment.
this should probably just explain how to connect it to localhost, don't bother with https/another reverse proxy
There was a problem hiding this comment.
the problem I encoured is there no easy way of running it over https which is required by myradio apache server, without reverse proxying through a domain.
as it looks like you might need to gen some of your own certificates before you can use api
x509: cannot validate certificate
I'll see if I can make it work on localhost
There was a problem hiding this comment.
if you go to http://localhost:7080/myradio/ rather than https://localhost:4443, it will work over http (if you have already set up a local instance, you need to change the port in Config:$base_url in src/MyRadio_Config.local.php)
Co-authored-by: Ash <ash@ashhhleyyy.dev>
Co-authored-by: Ash <ash@ashhhleyyy.dev>
Co-authored-by: Ash <ash@ashhhleyyy.dev>
Co-authored-by: Ash <ash@ashhhleyyy.dev>
|
also, just a note, but in the UI you can apply review suggestions all at once, rather than it creating a separate commit for each |
Moves docs from my radio to 2016-site