You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<imgsrc="https://render.com/images/deploy-to-render-button.svg"height="30"alt="Deploy to Render" />
16
+
</a>
9
17
10
18
## Configuration
11
19
@@ -31,15 +39,30 @@ The script takes the following environment variables
31
39
32
40
There are different options for using this script.
33
41
34
-
### Variant 1: On Heroku
42
+
### Variant 1: On Digital Ocean App Platform
35
43
36
-
- Click on [][heroku]
44
+
- Click on <atarget="_blank"href="https://cloud.digitalocean.com/apps/new?repo=https://github.com/timoschlueter/nightscout-librelink-up/tree/main&refcode=0b12ad5a5fe6"><imgsrc="https://www.deploytodo.com/do-btn-blue.svg"height="30"alt="Deploy to DigitalOcean" /></a>
45
+
- Login to Digital Ocean if not already happened ([Register first if you don't have an account (referral link)](https://www.digitalocean.com/?refcode=0b12ad5a5fe6&utm_campaign=Referral_Invite&utm_medium=Referral_Program&utm_source=badge))
46
+
- Provide proper values for the `Environment variables`
47
+
- Click `Create app` to deploy the app
48
+
49
+
### Variant 2: On Heroku
50
+
51
+
- Click on <atarget="_blank"href="https://heroku.com/deploy?template=https://github.com/timoschlueter/nightscout-librelink-up"><imgsrc="https://www.herokucdn.com/deploy/button.svg"height="30"alt="Deploy to Heroku" /></a>
37
52
- Login to Heroku if not already happened
38
53
- Provide proper values for the `environment variables`
39
54
-**Important: make sure that yor Nightscout API token is [hashed with SHA1](#hashing-api-token)**
40
55
- Click `Deploy` to deploy the app
41
56
42
-
### Variant 2: Local
57
+
### Variant 3: On Render
58
+
59
+
- Click on <ahref="https://render.com/deploy?repo=https://github.com/timoschlueter/nightscout-librelink-up"target="_blank"><imgsrc="https://render.com/images/deploy-to-render-button.svg"height="30"alt="Deploy to Render" /></a>
60
+
- Login to Render if not already happened
61
+
- Provide proper values for the `Environment variables`
62
+
-**Important: make sure that yor Nightscout API token is [hashed with SHA1](#hashing-api-token)**
63
+
- Click `Deploy Background Worker` to deploy the app
64
+
65
+
### Variant 4: Local
43
66
44
67
The installation process can be started by running `npm install` in the root directory.
45
68
@@ -60,7 +83,7 @@ npm start
60
83
61
84
Execute the script and check the console output.
62
85
63
-
### Variant 3: Docker
86
+
### Variant 5: Docker
64
87
65
88
The easiest way to use this is to use the latest docker image:
66
89
@@ -75,7 +98,7 @@ docker run -e LINK_UP_USERNAME="[email protected]" \
75
98
timoschlueter/nightscout-librelink-up
76
99
```
77
100
78
-
### Variant 4: Docker Compose
101
+
### Variant 6: Docker Compose
79
102
80
103
If you are already using a dockerized Nightscout instance, this image can be easily added to your existing
81
104
docker-compose file. In this example, the region is set for germany ("DE"):
@@ -118,9 +141,10 @@ which will print the hash (40 characters in length):
118
141
119
142
You might also use an online tool to generate your hash, e.g. https://codebeautify.org/sha1-hash-generator
120
143
121
-
## ToDo
144
+
## Sponsoring and affiliate links
145
+
If you enjoy using this project and would like to support its ongoing development, I would be truly grateful.
146
+
You can help keep things moving forward by becoming a GitHub sponsor or by using one of the referral links for the hosting providers below.
122
147
123
-
- **Integration into Nightscout**: I have not yet looked into the plugin architecture of Nightscout. Maybe this should
0 commit comments