Server side :
First, pull request https://github.com/rathena/rathena/pull/5731
Then, setting inter-athena.conf for web server, and web athena.conf if needed.
After that, run query SQL sql-files/web.sql so that your database will create the table required for web server.
Then recompile since u used Centos, can recompile as usual
./configure
make clean
make sql
make web
make server
then try start your server.
Okay now for client side part, you need to edit data\luafiles514\lua files\service_korea\ExternalSettings_kr.lub and change the IP to your server IP.
Url = { TwitterUrl = "http://0.0.0.0:3000" }
AccountLinkedUserDataUrl = {
Save = "http://127.0.0.1:8888/userconfig/save",
Load = "http://127.0.0.1:8888/userconfig/load"
}
TwitterDataUrl = {
Auth = "http://127.0.0.1:8888/twitter/user-auth",
Upload = "http://127.0.0.1:8888/twitter/upload"
}
EmblemDataUrl = {
Upload = "http://127.0.0.1:8888/emblem/upload",
Download = "http://127.0.0.1:8888/emblem/download"
}
Then try to upload a GIF below 50kb size or normal emblem.