Commit 5c1ac4ff authored by Eric - kg6wxc's avatar Eric - kg6wxc
Browse files

messing with the REAME file now

trying to make it nicer with the auto-html generation...
parent dd6638e8
REQUIREMENTS:
-------------
Apache webserver (or equiv)
PHP
PHP mysqli extension
MySQL/MariaDB
An available AREDN Mesh node, preferably connected to an AREDN network...
Map Tiles, either in a static directory or available via some tile server.
Apache webserver (or equiv)
PHP
PHP mysqli extension
MySQL/MariaDB
An available AREDN Mesh node, preferably connected to an AREDN network...
Map Tiles, either in a static directory or available via some tile server.
MAP TILE SERVER INFO
-------------
**Without a map tile server or static tiles, Mesh users may not see any map tiles.**
On the mesh, you *cannot* expect the client to have internet access in order to retrieve the tiles, you must provide them yourself, one way or another.
The main map webpage will *try* and check for internet access in the near future. (it's in the works)
**Without a map tile server or static tiles, Mesh users may not see any map tiles.**
On the mesh, you *cannot* expect the client to have internet access in order to retrieve the tiles, you must provide them yourself, one way or another.
The main map webpage will *try* and check for internet access in the near future. (it's in the works)
It is *way* beyond the scope of this README file to help in setting up a map tile server.
You are unfortunaly on your own there.
It is a time consuming and computationaly expensive process, but can be done on "normal" hardware.
It also takes 100's of GB of HD space if you want to map the entire world, and that *does not* include the tiles themselves, that is only for the data required to **make** the map tiles.
A good place to start for more info is: [https://switch2osm.org/serving-tiles/](https://switch2osm.org/serving-tiles/)
If you attempt it, be patient, you *will* get it wrong more than a few times but in the end you might be suprised. :)
It is *way* beyond the scope of this README file to help in setting up a map tile server.
You are unfortunaly on your own there.
It is a time consuming and computationaly expensive process, but can be done on "normal" hardware.
It also takes 100's of GB of HD space if you want to map the entire world, and that *does not* include the tiles themselves, that is only for the data required to **make** the map tiles.
A good place to start for more info is: [https://switch2osm.org/serving-tiles/](https://switch2osm.org/serving-tiles/)
If you attempt it, be patient, you *will* get it wrong more than a few times but in the end you might be suprised. :)
INITIAL SETUP FOR A RASPBIAN 9 (Stretch) SYSTEM
-------------
**1: Import the SQL file to create the database**
*Example*: sudo mysql < node_map.sql
**1: Import the SQL file to create the database**
*Example*: sudo mysql < node_map.sql
**2: Create a user for the database, you might have to login to the mysql server as root.**
**2: Create a user for the database, you might have to login to the mysql server as root.**
Here is an example of creating a mySQL user on Raspbian (which would apply for most linuxes):
sudo mysql
CREATE USER 'mesh-map'@'localhost' IDENTIFIED BY 'password';
GRANT SELECT, DELETE, DROP, INSERT, TRIGGER, UPDATE on node_map.* TO 'mesh-map'@'localhost';
FLUSH PRIVLEGES;
**3: Decompress user-files.tar.gz**
**3: Decompress user-files.tar.gz**
*Example*: tar -zxvf user-files.tar.gz
This will create the files for the settings, They are distributed in compressed format
so that *your* files do not get overwritten when the rest of the scripts get updated.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment