Giter VIP home page Giter VIP logo

naturtypekart's Introduction

Developing

Prerequisities

Frontend

Backend

Continuous integration

Configuration

Environment is selected using the .NET Core standard ASPNETCORE_ENVIRONMENT environment variable. nin.json configuration file will always be loaded. If a file named nin.{envionrment}.json exists, any settings defined in that file will override the default settings in nin.sjon.

REST Services

The backend consists of 3 ASP.NET Core Web API projects.

Api

All the interesting bits are here. This is a read-only API.

Dependencies

  • SQL Server
  • RavenDB

Api.Proxy

A "dumb" proxy used for map tiles from Statens kartverk.

Dependencies

  • None

Api.Document

Functions for uploading new data sets and displaying previous uploads.

Dependencies

  • RavenDB

Runtime environment

  • Windows Server 2008
  • SQL Server
  • IIS
  • .NET Framework 4.6

Staging

Installing in IIS

##Add .geojson MIME type *Make sure Windows features: Internet Information Service: World Wide Web Service: Common HTTP Features: Static Content is installed *Open IIS Manager *Click MIME Types and then add the extension: **File name extension: .geojson **MIME type: application/json

##Install the .NET Core Windows Server Hosting bundle

  • Install Microsoft .NET Framework 4.6.1 (https://www.microsoft.com/en-us/download/details.aspx?id=49982)

  • Install the .NET Core Windows Server Hosting bundle (https://go.microsoft.com/fwlink/?LinkId=817246) on the server. The bundle will install the .NET Core Runtime, .NET Core Library, and the ASP.NET Core Module. The module creates the reverse-proxy between IIS and the Kestrel server.

  • Execute iisreset at the command line or restart the server to pickup changes to the system PATH.

  • Add a new Application pool, set .NET CLR Version to "No managed code"

  • use dotnet publish command to create contents of the virtual directory.

  • Add application, choose the app pool, point to publish directory. ** Open Modules in the Application, AspNetCoreModule should be there.

  • Grant read access to group "Authenticated Users" in the base Nin directory

Virtual folder: NinMap

SQL Server

  • Create user IIS APPPOOL\Nin, make db_owner of "Config.Settings.ConnectionString"

TODO

Import: https://kartkatalog.miljodirektoratet.no/Dataset/Details/0

naturtypekart's People

Contributors

amundn avatar bjornreppen avatar kbrekke avatar myrdrahl avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.