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
 
 
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Build Status js-standard-style

luftstatus

Air quality in Norway

Installation

Download and install nodejs and git

You will need to register a mapbox account and a mapbox token

git clone https://github.com/Alheimsins/luftstatus
cd luftstatus
npm install
vim next.config.js # Edit config
npm run dev

Open web-browser at http://localhost:3000

Deploy using Now

$ wget https://raw.githubusercontent.com/Alheimsins/luftstatus/master/production.env
$ vim production.env # Edit config
$ now secrets add mapbox_token YOUR-MAPBOX-TOKEN
$ now -E production.env https://github.com/Alheimsins/luftstatus

Deploy using Docker

Install Docker

docker run -d --name luftstatus-web alheimsins/luftstatus

License

MIT

About

Created by zrrzzt and maccyber with for Alheimsins