Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

Latest commit

 

History

History
78 lines (45 loc) · 1.21 KB

README.md

File metadata and controls

78 lines (45 loc) · 1.21 KB

Offline html5 navigation app for cyclist

Application created during final project study @ Polytech Tours

Application

Web application

Use

####prerequisite

  • nodejs
  • npm

####install dependency

make init

####run

grunt serve

Batch

script for importation of graph into GEOJson format

based on osmosis, osmtogeojson et merge-geojsons

Use

####prerequisite (for now)

  • nodejs
  • npm
  • osmosis
  • curl
  • make

####install dependency

make init

####run

make

####clean dependency

make cleanAll

####clean Data (temporary and final)

make clean

Server

add CORS (Cross-Origin ressource sharing) habilitation enable-cors

Apache

add

 Header set Access-Control-Allow-Origin "*"

to virtualHost used to serve data

example

<VirtualHost *:80>
	ServerAdmin [email protected]
	DocumentRoot "/srv/http/depot"
	ServerName depot.pfe.local
	ErrorLog "/home/kurze/Documents/pfe/log/error_log"
	CustomLog "/home/kurze/Documents/pfe/log/common_log" common
	Header set Access-Control-Allow-Origin "*"
</VirtualHost>