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
Copy file name to clipboardExpand all lines: README.md
+79-60Lines changed: 79 additions & 60 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -87,58 +87,26 @@ First, if you don't have Docker installed on your computer, get Docker by follow
87
87
Next, run the following commands from the Windows command line or Mac/Linux terminal in order to download and start the Fasten docker container.
88
88
89
89
90
+
## 🚀 Launch
90
91
91
-
### 🚀 Launch
92
+
### Start Fasten
92
93
93
-
Launch the application. Please choose a location where `docker-compose.yml` and `set_env.sh` will be downloaded.
94
-
95
-
To make your Fasten instance discoverable by companion mobile apps and other devices on your local network, you need to run the `set_env.sh` script before starting Docker Compose. This script sets the necessary `HOSTNAME` and `IP` values in a `.env` file, which is required for syncing.
2. **Prepare and run the environment setup script:**
106
-
Make the script executable and run it to generate your `.env` file. This will configure network variables required for Docker Compose.
107
-
```bash
108
-
chmod +x ./set_env.sh
109
-
./set_env.sh
110
97
```
111
98
112
-
3. **Start the application:**
99
+
2. **Start the application:**
113
100
```bash
114
101
docker compose up -d
115
102
```
116
103
117
-
**Manual Configuration (Optional)**
118
-
119
-
If you prefer not to run the `set_env.sh` script, you can configure the `.env` file manually. You will need to create a `.env` file and add the following variables:
Create a file named `.env`in the same directory as your `docker-compose.yml` and add the following lines, replacing `<your_hostname>` and `<your_ip_address>` with the values you found:
132
-
```
133
-
HOSTNAME=<your_hostname>
134
-
IP=<your_ip_address>
135
-
PORT=9090
136
-
```
137
-
138
104
### 🧪 Develop
139
105
140
106
Use local development settings for testing and iteration.
141
107
108
+
> ℹ️ **Observation:** Requires a local clone of the repository.
109
+
142
110
```bash
143
111
docker compose up -d
144
112
```
@@ -149,11 +117,11 @@ docker compose up -d
149
117
make serve-docker
150
118
```
151
119
152
-
ℹ️ Requires a local clone of the repository.
153
-
154
120
> ⚠️ **Warning:** Do not run both `docker compose up -d` / `(make serve-docker)` simultaneously. Choose one based on your deployment scenario.
155
121
156
-
### Optional
122
+
Next, open a browser to `http://localhost:9090`
123
+
124
+
### (Optional) Direct start Fasten using docker run
At this point you'll be redirected to the login page.
137
+
### Companion Mobile App
138
+
139
+
In partnership with [LifeValue](https://lifevalue.com), we develop an **open-source** mobile application: **[HealthWallet.me](https://healthwallet.me/)** / **[Github repository](https://github.com/TechStackApps/HealthWallet.me)** , that syncs with your **self-hosted Fasten instance**, giving you access to your health records on the mobile.
<img src="https://raw.githubusercontent.com/TechStackApps/HealthWallet.me/refs/heads/master/assets/readme/apple_store.svg" height="60px" alt="Download on the App Store" />
<img src="https://raw.githubusercontent.com/TechStackApps/HealthWallet.me/refs/heads/master/assets/readme/playstore.svg" height="60px" alt="Get it on Google Play" />
147
+
</a>
148
+
149
+

150
+
151
+
152
+
153
+
### Start Fasten (discovarable on your local network)
154
+
155
+
For your **Fasten** instance to work together with **HealthWallet.me** (the companion mobile app), you need to run the `set_env.sh` script before starting Docker Compose.
156
+
157
+
This script configures the necessary `HOSTNAME` and `IP` values in a `.env` file, which allows Fasten to generate a QR code that HealthWallet can scan to establish the initial connection and begin syncing your health data.
158
+
159
+
Launch the application. Please choose a location where `docker-compose.yml` and `set_env.sh` will be downloaded.
If you prefer not to run the `set_env.sh` script, you can configure the `.env` file manually. You will need to create a `.env` file and add the following variables:
Create a file named `.env`in the same directory as your `docker-compose.yml` and add the following lines, replacing `<your_hostname>` and `<your_ip_address>` with the values you found:
198
+
```
199
+
HOSTNAME=<your_hostname>
200
+
IP=<your_ip_address>
201
+
PORT=9090
202
+
```
203
+
204
+
</details>
171
205
172
206
### Logging In
173
207
@@ -203,21 +237,6 @@ This allows for a more complex example:
203
237
- both parents need to be able to access both children's records, and maybe each-others
204
238
- the caregiver should have view-only access to 1 or both children, but not the parents.
205
239
206
-
# Mobile application
207
-
208
-
In partnership with [LifeValue](https://lifevalue.com), we develop a mobile application: **[HealthWallet.me](https://github.com/TechStackApps/HealthWallet.me)**, that syncs with your **self-hosted Fasten instance**, giving you access to your health records on the mobile.
<img src="https://raw.githubusercontent.com/TechStackApps/HealthWallet.me/refs/heads/master/assets/readme/apple_store.svg" height="60px" alt="Download on the App Store" />
<img src="https://raw.githubusercontent.com/TechStackApps/HealthWallet.me/refs/heads/master/assets/readme/playstore.svg" height="60px" alt="Get it on Google Play" />
215
-
</a>
216
-
217
-

218
-
219
-
220
-
221
240
# FAQ's
222
241
223
242
See [FAQs](https://docs.fastenhealth.com/faqs.html) for common questions (& answers) regarding Fasten
@@ -248,8 +267,8 @@ We use SemVer for versioning. For the versions available, see the tags on this r
248
267
249
268
# Authors
250
269
251
-
- Jason Kulatunga - Initial Development - @AnalogJ
252
-
- Alex Szilagyi - Co-Author - @alexszilagyi
270
+
- Jason Kulatunga - Initial Development - [@AnalogJ](https://github.com/AnalogJ)
271
+
- Alex Szilagyi - Co-Author - [@alexszilagyi](https://github.com/alexszilagyi)
0 commit comments