This repository contains the code of the new openSenseMap frontend running at https://beta.opensensemap.org.
Originally, the openSenseMap was built as part of the bachelor thesis of @mpfeil at the ifgi (Institute for Geoinformatics, University of Münster). Between 2016 and 2022 development was partly funded by the German Ministry of Education and Research (BMBF) in the projets senseBox and senseBox Pro. This version has been developed by @mpfeil and @freds-dev.
If you do need to set the project up locally yourself, feel free to follow these instructions:
You can configure the API endpoint and/or map tiles using the following environmental variables:
ENV | Default value |
---|---|
OSEM_API_URL | https://api.testing.opensensemap.org |
DATABASE_URL | |
MAPBOX_ACCESS_TOKEN |
You can create a copy of .env.example
, rename it to .env
and set the values.
git clone https://github.com/openSenseMap/frontend
.env.example
into .env
npm install
to install dependenciesnpm run docker
to start the docker container running your local postgres DBnpm run build
npm run dev
to start the local serverWe welcome all kind of constructive contributions to this project. Please have a look at CONTRIBUTING if you want to do so.
MIT - Matthias Pfeil 2015 - now