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

kurze/pfe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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>

About

Offline html5 navigation app for cyclist

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published