This project utilizes the data provided by Sweden's National Road Database together with the Open Source project Nvdb2osm to provide assistance to OSM contributors in Sweden. This contribution is in the form of OSM files that represent the status of the National Road Database (as produced by nvdb2osm) without the need to run the script locally
- in your AWS account go to EC2 and open "Key Pairs" in the navigation
- Generate a new keypair with the name
nvdb2osm-ec2
. Use RSA as the key pair type and ".pem" as the format. A new keypair is now created and downloaded. - on your computer, set the permissions for the downloaded key file:
chmod 400 nvdb2osm-ec2.pem
- Clone the repo. You'll need at least Node 14
- run
npm i
- run
npx serverless deploy
. This will deploy one lambda function which is responsible for periodically launching a EC2 instance which runs the code.