From b8848ce8973a1faad655526d4b0970b5476f956e Mon Sep 17 00:00:00 2001 From: Daniel Brunner <0xFEEDC0DE64@gmail.com> Date: Tue, 2 Aug 2016 21:19:53 +0200 Subject: [PATCH] Updated installation instructions for linux --- README.md | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 5f41d7c..4d08a99 100644 --- a/README.md +++ b/README.md @@ -3,8 +3,7 @@ A browser map for [PokeMobBot](https://github.com/PocketMobsters/PokeMobBot) usi ## Installation I recomment using an apache webserver for serving the map because there is an websocket module that can help you to avoid using a second tcp port just for the websocket. -The apache acts then as a "proxy" for the websocket api on `/websocket`. - +The apache acts then as a "proxy" for the websocket api on `/websocket`. First step is to obtain the live map from GitHub. You could download a simple zip-archive [here](https://github.com/0xFEEDC0DE64/PokeMobBotMap/archive/master.zip). Experienced users can `git clone` it. ### Installation on Windows @@ -12,12 +11,13 @@ Download the latest apache binaries on [Apache Lounge](https://www.apachelounge. * `ServerRoot "c:/Path/To/Apache24"` * `DocumentRoot "C:/Path/To/PokeMobBotMap/src"` -* `\` +* `\` +Please note that the /src is mandatory unless you moved the src folder somewhere else. -You also need to **uncomment** (remove the hashtag) the following lines: +You also need to **uncomment** (removing the hashtag) the following lines: -* LoadModule proxy_module modules/mod_proxy.so -* LoadModule proxy_wstunnel_module modules/mod_proxy_wstunnel.so +* `LoadModule proxy_module modules/mod_proxy.so` +* `LoadModule proxy_wstunnel_module modules/mod_proxy_wstunnel.so` Now you need to configure the websocket proxy thing. Add the following lines on the end of the configuration file: @@ -27,4 +27,11 @@ Now you need to configure the websocket proxy thing. Add the following lines on ``` -Be sure the **port 14251** matches your websocket port in the bot configuration. \ No newline at end of file +Be sure the **port 14251** matches your websocket port in the bot configuration. + +### Installation on Linux +If you know linux well enough, you should understand the needed configuration steps for Windows and be able to "convert" them to a linux basis. +You need to install apache and the two mods (mod_proxy and mod_proxy_wstunnel). +The configuration for proxy_wstunnel_module should remain the same. + +Feel free to expand this README using pull requests. Thanks! \ No newline at end of file