Skip to content

shay-harzahav/Site

 
 

Repository files navigation

Intro

This repository holds all the files that the site needs in order to run.

Technology stack

The technology stack of this site is base on the following frameworks:

Architecture and folder stucture

The architecture is based heavily on AngularJS:

  • common - used to store data types that are common to the entire app.
  • content - used for css files and images.
  • controllers - this layer handles the UI calls and bindings.
  • directives - folder for all the directives.
  • scripts - third level javascipt libraries used in this project.
  • services - this layer hold the lower level data handling.
  • parsers - parses files and converts them form string to dta model objects and back
  • routers - handles the routing - currently there are 4 routers - hike, bike, fourbyfour and none.
  • views - represents the UI - all HTML should be placed there

Setting up this project

In order to be able to see this site you'll need some tools:

  • Download and install Visual Studio 2015 or later.
  • Using nuget install/update the following: TypeScript, Web Essentials, Chutzpah (both runner and context menu).

Setup The server

In order to be able to make the server work a few prerequisits are needed:

  • Windows machine with IIS enabled and a site.
  • Install Java Runtime Environment.
  • Download and extract Graphhopper.
  • Copy the elevation files from our IsraelHiking.DataAccess\elevation-cache to graphhopper folder\elevation-cahce.
  • Install GpsBabel for windows.
  • Download Israel pbf file from Geofabrik and place it * graphhopper folder\israel-and-palestine-latest.osm.pbf.
  • Copy config-example.properties to graphhopper folder.
  • java -jar graphhopper-web-0.5.0-with-dep.jar jetty.resourcebase=webapp config=config-example.properties osmreader.osm=israel-and-palestine-latest.osm.pbf.

About

This repository holds the files needed for running the Israel Hiking Map site.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 79.3%
  • TypeScript 11.8%
  • C# 5.2%
  • HTML 2.3%
  • CSS 1.4%