guifi.net:desarrollo_web:instalacion
This is an old revision of the document!
http://acacha.org/mediawiki/index.php/Entorn_de_desenvolupament_guifi
http://es.wiki.guifi.net/wiki/Preparando_el_entorno_de_desarrollo
Instalar mapserver
apt-get install mapserver-bin cgi-mapserver
Repositorio guifimaps
https://gitorious.org/guifi/guifimaps
Pulsamos el botón de “Clone repository”
Ahora vamos a nuestro disco duro y lo clonamos en local:
git clone git@gitorious.org:~joselegido/guifi/joselegido-guifimaps.git guifimaps
Dentro de la carpeta de guifimaps editamos el fichero refresh.php:
/mnt/raid/www/public/http/guifimaps/refresh.php
$hlastnow = @fopen("http://guifi.net/guifi/refresh/maps", "r") or die('Error reading changes\n'); $hlinks = @fopen("http://guifi.net/guifi/gml/".$rootZone."/links/csv", "r") or die("Error getting links cv\n");; $hnodes = @fopen("http://guifi.net/guifi/gml/".$rootZone."/nodes/csv", "r");
por
$hlastnow = @fopen("http://guifidev.matarosensefils.net/guifi/refresh/maps", "r") or die('Error reading changes\n'); $hlinks = @fopen("http://guifidev.matarosensefils.net/guifi/gml/".$rootZone."/links/csv", "r") or die("Error getting links cv\n");;
$hnodes = @fopen("http://guifidev.matarosensefils.net/guifi/gml/".$rootZone."/nodes/csv", "r");
guifi.net/desarrollo_web/instalacion.1328985534.txt.gz · Last modified: 2015/04/13 20:19 (external edit)