Code Monkey home page Code Monkey logo

opensensemap's Introduction

openSenseMap

Commitizen friendly

This repository contains the code of the openSenseMap frontend running at https://opensensemap.org. To get more information about openSenseMap and senseBox visit the before mentioned links or have a look at this video or read the openSenseMap chapter in our books. openSenseMap is part of the senseBox project.

Originally, this frontend has been built as part of the bachelor thesis of @mpfeil at the ifgi (Institute for Geoinformatics, WWU Münster) and is currently maintained by @mpfeil.

The easiest way to get up and running with your own copy is clicking the Deploy to Netlify button below. It will clone the repository into your own account, and deploy the site to Netlify. It is going to ask for Maptiles url and API endpoint. Please use the default values listed under configuration or use your own.

Deploy to Netlify

Configuration

You can configure the API endpoint and/or map tiles using the following environmental variables:

ENV Default value
OPENSENSEMAP_API_URL https://api.testing.opensensemap.org
OPENSENSEMAP_MAPTILES_URL http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png

You can set them in your terminal or change the default values in the Gruntfile.

Development

  • Have Node.js v8, grunt and bower installed
  • Check out development branch (git checkout development)
  • Run npm install and bower install
  • Create your own branch git checkout -b my-awesome-branch
  • Run frontend in development mode (grunt serve)
  • Commit your changes to your branch and push it to your fork
  • Create a pull request against the development branch

See also: CONTRIBUTING

Services

Deployment

Technologies

Organization

Branches

  • master (runs in production)
    • Is used for container build tags
  • development (runs on testing server)
    • Bleeding edge and possibly unstable development version

Docker

openSenseMap including openSenseMap-API

For installing openSenseMap and openSenseMap-API with Docker check out our oSeM-compose repository.

openSenseMap

To build just openSenseMap you can run: docker build -t osem .

Following build-args are availble:

Build Arg Default value
OPENSENSEMAP_API_URL https://api.opensensemap.org
OPENSENSEMAP_MAPTILES_URL http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png

License

MIT - Matthias Pfeil 2015 - now

opensensemap's People

Contributors

adorfer avatar akim95 avatar alexishappy avatar chk1 avatar donrai avatar felixerdy avatar gitter-badger avatar m5r avatar maximgeerinck avatar mdragunski avatar mpfeil avatar muztank avatar nclsppr avatar noerw avatar ricciocri avatar tmasternak avatar ubergesundheit avatar

Watchers

 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.