FreemapSlovakia / freemap-v3-react

Freemap Slovakia web application (www.freemap.sk)
https://www.freemap.sk/
Apache License 2.0
35 stars 17 forks source link
openstreetmap react slovakia

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:

npm i
DEPLOYMENT=www ./node_modules/.bin/webpack

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

Other env varialbes

Translation (i18n)

Files: