Platform for storing and exploring sensor data
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github chore(commit): introduce commitizen Dec 7, 2017
app
scripts chore(release): add script to release new version Jan 11, 2018
test
.bowerrc new project structure May 24, 2014
.dockerignore add dockerignore Jul 15, 2016
.editorconfig new project structure May 24, 2014
.eslintignore build(linting): switch from jshint to eslint Feb 13, 2018
.eslintrc.js test(eslint): Remove last tawk stuff Sep 25, 2018
.gitattributes new project structure May 24, 2014
.gitignore chore(release): add script to release new version Jan 11, 2018
.travis.yml fix travis Jan 26, 2018
CHANGELOG.md chore(release): 2.0.1 Nov 26, 2018
Dockerfile grunt build in ci env, then build very small docker image Aug 14, 2017
Gruntfile.js Merge pull request #276 from noerw/perf_leanquery Oct 24, 2018
LICENSE Code license Apr 28, 2015
README.md ci(netlify): fix netlify deploy button Oct 24, 2018
bower.json chore(release): 2.0.1 Nov 26, 2018
netlify.toml
package-lock.json chore(release): 2.0.1 Nov 26, 2018
package.json
run.sh grunt build in ci env, then build very small docker image Aug 14, 2017

README.md

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

Related projects

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