plepe / OpenStreetBrowser

An application to ‘browse’ the information in the displayed part of the map. Similar to common Wikis and also the main page of http://www.openstreetmap.org the website shows a narrow menu on the left side, most of the page is used for the display of the map. In contrast to most Wikis the menu is not static, but rather the content of the map can be browsed in categories. For the map a special style has been developed (sorry guys, I neither like the default Mapnik nor Osmarender styles), and special overlays are displayed to support the current browsed categories. When you click on an object (either from the list or directly on the map) informations on this object are displayed.
http://www.openstreetbrowser.org
GNU General Public License v3.0
85 stars 20 forks source link

Install on XAMPP server #101

Open plepe opened 5 years ago

plepe commented 5 years ago

Originally posted by @Aureuum in https://github.com/plepe/OpenStreetBrowser/issues/99#issuecomment-476825939:

I tried to install it on my localhost XAMPP server, but didn't work, and I only see installation instructions for Ubuntu here. How does one install it on a Linux or XAMPP server?

plepe commented 5 years ago

Could you describe your problems? I'll try to install it myself, but not today :)

Aureuum commented 5 years ago

Thank you for getting back on this. I downloaded and extracted the files in a folder under my htdocs directory, and then ran index.php from localhost/[folder]/index.php with Apache and MySQL running. I got error messages and don't know how to address them. I assume one has to build the installation in some way?

The instruction on the site say:

git clone https://github.com/plepe/openstreetbrowser.git cd openstreetbrowser npm install composer install git submodule init git submodule update cp conf.php-dist conf.php nano conf.php npm run build modulekit/build_cache bin/download_dependencies

How do I run this on my own server or how else would I install it correctly?

plepe commented 5 years ago

Please post the error messages. What OS are you using? At least you need the following applications installed: nodejs, composer, git.

See also here: https://github.com/plepe/OpenStreetBrowser/blob/master/doc/INSTALL.md