GithubHelp home page GithubHelp logo

freemapslovakia / freemap-v3-react Goto Github PK

View Code? Open in Web Editor NEW
34.0 10.0 17.0 25.23 MB

Freemap Slovakia web application (www.freemap.sk)

Home Page: https://www.freemap.sk/

License: Apache License 2.0

JavaScript 0.92% HTML 0.23% TypeScript 97.48% SCSS 0.73% EJS 0.64%
openstreetmap react slovakia

freemap-v3-react's Introduction

Freemap Slovakia Web Application

Current version of www.freemap.sk maintained by OZ Freemap Slovakia.

Requirements

Compiling and running in development mode

  1. Add local.freemap.sk to 127.0.0.1 in your system hosts file (for Linux and MacOS it is /etc/hosts).

  2. Install the necessary libs:

    npm i
    npm run prepare
  3. Run webserver which also compiles the source files on change:

    npm start
  4. Install development CA certificate to your browser.

  5. Open the application by visiting https://local.freemap.sk:9000/.

Compiling for the production

Set DEPLOYMENT to:

  • dev (default) for local.freemap.sk
  • next for next.freemap.sk
  • www for www.freemap.sk
npm i
DEPLOYMENT=www ./node_modules/.bin/webpack

You'll then find all static web resources in dist directory.

Other env varialbes

  • FM_MAPSERVER_URL - base URL of Mapnik Mapserver (without trailing slash); for example http://localhost:4000 for development

Translation (i18n)

Files:

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.