timoschlueter / nightscout-librelink-up

Script written in TypeScript that uploads CGM readings from LibreLink Up to Nightscout.
MIT License
192 stars 246 forks source link

Add alternatives to Heroku #66

Open timoschlueter opened 1 year ago

timoschlueter commented 1 year ago

Since Heroku does not offer a free tier anymore, we should add an alternative service as a deployment target. One option would be render.com.. They do offer a "Deploy to Render"-Button similar to Heroku: https://render.com/docs/deploy-to-render

kaussel commented 1 year ago

manually deployed it on render as web service today. don't know if web service is the right choice. got it working uploading exactly once but it ends in npm ↓ errors where my expertise runs dry.

Sep 18 09:20:01 PM [info]: Received blood glucose measurement items Sep 18 09:20:02 PM [info]: Upload of 1 measurements to NightScout succeeded Sep 18 09:22:12 PM npm ERR! path /usr/src/app Sep 18 09:22:12 PM npm ERR! command failed Sep 18 09:22:12 PM npm ERR! signal SIGTERM Sep 18 09:22:12 PM npm ERR! command sh -c -- node index.js Sep 18 09:22:12 PM
Sep 18 09:22:12 PM npm ERR! A complete log of this run can be found in: Sep 18 09:22:12 PM npm ERR! /root/.npm/_logs/2022-09-18T19_16_18_442Z-debug-0.log

have to setup ssh access first to wie logs... → which is not supported in free render