Public | Automated Build

Last pushed: 5 days ago
Short Description
opensensemap.org
Full Description

openSenseMap

Installation

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

Local installation

Clone this repository
git clone git@github.com:sensebox/openSenseMap.git

Go to the cloned repository and install all dependencies by running

npm install
bower install

Now you are good to go and start up the server in development mode by running:

grunt serve

If you want to change the API endpoint and/or the map tiles you can do so in the Gruntfile.
Therefore you can change the replace:devapi and/or replace:devmaps tasks.

Contributing

Contributions are welcome, see CONTRIBUTING.md.

License

  • Code: MIT License

See LICENSE file.

Docker Pull Command
Owner
sensebox
Source Repository

Comments (0)