git.cweiske.de
/
stouyapi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3e4d403
)
Unify domain names in README
master
github/master
author
Christian Weiske
<cweiske@cweiske.de>
Wed, 31 Jan 2024 18:00:39 +0000
(19:00 +0100)
committer
Christian Weiske
<cweiske@cweiske.de>
Wed, 31 Jan 2024 18:00:55 +0000
(19:00 +0100)
README.rst
patch
|
blob
|
history
diff --git
a/README.rst
b/README.rst
index ece443089dd340bc395f7c75e29281a955dfc98b..dae49f3515b2db574afa051c128e0f955718dfd7 100644
(file)
--- a/
README.rst
+++ b/
README.rst
@@
-16,8
+16,8
@@
OUYA config change
- Create file ``ouya_config.properties``
- Add::
- Create file ``ouya_config.properties``
- Add::
- OUYA_SERVER_URL=http://stouyapi.
boo
- OUYA_STATUS_SERVER_URL=http://stouyapi.
boo
/api/v1/status
+ OUYA_SERVER_URL=http://stouyapi.
example.org
+ OUYA_STATUS_SERVER_URL=http://stouyapi.
example.org
/api/v1/status
The changes should take effect immediately.
If they do not, reboot the OUYA once.
The changes should take effect immediately.
If they do not, reboot the OUYA once.
@@
-43,7
+43,7
@@
Apache setup
Virtual host configuration::
<VirtualHost *:80>
Virtual host configuration::
<VirtualHost *:80>
- ServerName stouyapi.
test
+ ServerName stouyapi.
example.org
DocumentRoot /path/to/stouyapi/www
CustomLog /var/log/apache2/stouyapi-access.log combined
DocumentRoot /path/to/stouyapi/www
CustomLog /var/log/apache2/stouyapi-access.log combined
@@
-74,17
+74,17
@@
Test your Apache setup
::
# check if normal API routes work
::
# check if normal API routes work
- $ curl -I http://stouyapi.
cwboo
/api/firmware_builds
+ $ curl -I http://stouyapi.
example.org
/api/firmware_builds
HTTP/1.1 200 OK
[...]
# check if rewritten API routes work
HTTP/1.1 200 OK
[...]
# check if rewritten API routes work
- $ curl -I http://stouyapi.
cwboo
/api/v1/discover/discover
+ $ curl -I http://stouyapi.
example.org
/api/v1/discover/discover
HTTP/1.1 200 OK
[...]
# check if PHP routes work
HTTP/1.1 200 OK
[...]
# check if PHP routes work
- curl -I http://stouyapi.
cwboo
/api/v1/gamers/me
+ curl -I http://stouyapi.
example.org
/api/v1/gamers/me
HTTP/1.1 200 OK
[...]
HTTP/1.1 200 OK
[...]