Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
app
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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 documentation. 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 v10, grunt and bower installed
  • Check out a branch for your feature (git checkout my-aweseome-feature)
  • Run npm install and npx bower install
  • Run frontend in development mode (npx grunt serve)
  • Commit your changes to your branch and push it to your fork
  • Create a pull request against the master branch

See also: CONTRIBUTING

Related projects

Services

Deployment

Technologies

Organization

Branches

  • master (runs on testing server)
    • Is used for production container build tags

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