Air quality in Norway
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
Created by zrrzzt and maccyber with ❤ for Alheimsins