Compare commits
5 Commits
f1646f6dce
...
3247bafdd8
Author | SHA1 | Date |
---|---|---|
Gesche | 3247bafdd8 | 5 years ago |
Gesche | 6c1c60ae51 | 5 years ago |
Gesche | 2a2b841cc0 | 5 years ago |
Gesche | 13c259cc60 | 5 years ago |
Gesche | 84fc9f9570 | 5 years ago |
@ -0,0 +1,31 @@
|
|||||||
|
{% extends "base_generic.html" %}
|
||||||
|
|
||||||
|
{% block content %}
|
||||||
|
<h2 class="tibia-headline">Getting Started</h2>
|
||||||
|
|
||||||
|
{% if user.is_authenticated %}
|
||||||
|
<p>
|
||||||
|
Beside this account you need a client to connect to the server.
|
||||||
|
Get the client source from here:
|
||||||
|
<a href="https://git.someserver.de/gesche/tibia-client">https://git.someserver.de/gesche/tibia-client</a>
|
||||||
|
</p>
|
||||||
|
<p>Follow the instructions there to compile, in general for linux systems with apt you need to install the requirements:</p>
|
||||||
|
|
||||||
|
sudo apt-get install -y build-essential cmake git-core <br>
|
||||||
|
sudo apt-get install -y libboost-all-dev libphysfs-dev libssl1.0-dev liblua5.1-0-dev <br>
|
||||||
|
sudo apt-get install -y libglew-dev libvorbis-dev libopenal-dev zlib1g-dev <br>
|
||||||
|
<br>
|
||||||
|
<p>And build with:</p>
|
||||||
|
|
||||||
|
git clone https://git.someserver.de/gesche/tibia-client.git <br>
|
||||||
|
cd otclient && mkdir build && cd build && cmake -DUSE_STATIC_LIBS=OFF .. && make <br>
|
||||||
|
./otclient <br>
|
||||||
|
|
||||||
|
<br>
|
||||||
|
<p>Finally, the client needs some files that contain the graphics and other static stuff for the server.
|
||||||
|
Ask Gesche how to obtain them.</p>
|
||||||
|
{% else %}
|
||||||
|
Please log in to view this information.
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
{% endblock %}
|
@ -0,0 +1,25 @@
|
|||||||
|
# tibia_uwsgi.ini file
|
||||||
|
[uwsgi]
|
||||||
|
|
||||||
|
# Django-related settings
|
||||||
|
# the base directory (full path)
|
||||||
|
chdir = /home/gesche/coding/tibia-website/tibia_website/
|
||||||
|
# Django's wsgi file
|
||||||
|
module = tibia_website.wsgi
|
||||||
|
# the virtualenv (full path)
|
||||||
|
home = /home/gesche/coding/virtual-envs/tibia-env
|
||||||
|
|
||||||
|
# process-related settings
|
||||||
|
# master
|
||||||
|
master = true
|
||||||
|
# maximum number of worker processes
|
||||||
|
processes = 10
|
||||||
|
# the socket (use the full path to be safe
|
||||||
|
socket = /home/gesche/tibia.sock
|
||||||
|
# ... with appropriate permissions - may be needed
|
||||||
|
# chmod-socket = 664
|
||||||
|
# clear environment on exit
|
||||||
|
vacuum = true
|
||||||
|
|
||||||
|
|
||||||
|
plugin = python3
|
@ -0,0 +1,16 @@
|
|||||||
|
uwsgi_param QUERY_STRING $query_string;
|
||||||
|
uwsgi_param REQUEST_METHOD $request_method;
|
||||||
|
uwsgi_param CONTENT_TYPE $content_type;
|
||||||
|
uwsgi_param CONTENT_LENGTH $content_length;
|
||||||
|
|
||||||
|
uwsgi_param REQUEST_URI $request_uri;
|
||||||
|
uwsgi_param PATH_INFO $document_uri;
|
||||||
|
uwsgi_param DOCUMENT_ROOT $document_root;
|
||||||
|
uwsgi_param SERVER_PROTOCOL $server_protocol;
|
||||||
|
uwsgi_param REQUEST_SCHEME $scheme;
|
||||||
|
uwsgi_param HTTPS $https if_not_empty;
|
||||||
|
|
||||||
|
uwsgi_param REMOTE_ADDR $remote_addr;
|
||||||
|
uwsgi_param REMOTE_PORT $remote_port;
|
||||||
|
uwsgi_param SERVER_PORT $server_port;
|
||||||
|
uwsgi_param SERVER_NAME $server_name;
|
Loading…
Reference in new issue