Closed extua closed 3 months ago
Tracking this to document later, this is for a server running Debian Bookworm:
git clone git@github.com:freifunk/vis.api.freifunk.net.git
docker compose up -d
api.freifunk.net/data/history/
with wget wget -A json -m -E -k -K -np -v https://api.freifunk.net/data/history/
(wait a while as this takes some time).Todo:
@extua maybe @andibraeu can setup some server ressources for you - just for testing it looks like mongodb has a cloud office with a free-tier up to 5gb of data here: https://www.mongodb.com/pricing
@mtippmann I set up a server with Hetzner this morning, which is not too expensive and works for the moment. I will need a 'Freifunk' server from @andibraeu when it comes to deploy the finished process. In the meantime thanks for the tip about the free cloud tier! I'll see about setting that up later.
@mtippmann here's a connection string for MongoDB Atlas
mongodb+srv://databaseReader:freifunkfreifunk@freifunktest.zsfzlav.mongodb.net/
Kind of a general issue, MongoDB won't work on my laptop, due to lack of AVX support on my very primitive laptop CPU.
Thankfully most of the work has already been done to be able to deploy it anywhere.