https://github.com/diversen/blood-pressure-log
A simple app that let's you log blood pressure of e.g. yourself or your family members
https://github.com/diversen/blood-pressure-log
blood-pressure blood-pressure-log blood-pressure-measurment blood-pressure-tracker
Last synced: 30 days ago
JSON representation
A simple app that let's you log blood pressure of e.g. yourself or your family members
- Host: GitHub
- URL: https://github.com/diversen/blood-pressure-log
- Owner: diversen
- License: mit
- Created: 2024-07-25T10:28:57.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-07-27T10:56:43.000Z (9 months ago)
- Last Synced: 2025-02-07T22:28:34.102Z (3 months ago)
- Topics: blood-pressure, blood-pressure-log, blood-pressure-measurment, blood-pressure-tracker
- Language: JavaScript
- Homepage:
- Size: 291 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# README
A simple PHP / MySQL app for logging blood pressure for multiple users.
* User may add multiple aliases (e.g. your parents or other members of your family)
* Readings Today
* Daily Average (Last 30 days)
* Weekly Average (1 year)# Usage
You can try it or use it for free on https://bp.10kilobyte.com
# Install
Works on: `PHP >= 8.1`
Clone the source code:
git clone https://github.com/diversen/blood-pressure-log
cd blood-pressure-appInstall composer packages:
composer install
Create a `config-locale` dir that will override settings in `config`.
mkdir config-locale
## Load MySQL DB
Create a database and change the settings in `config-locale/DB.php`
cp config/DB.php config-locale/DB.php
Check if you can connect to the server and then create the database:
./cli.sh db --server-connect
create database bp;
exitYou can look at the other `config/` files, but you don't need to change these in order to run the system local now:
Load the SQL files found in `migration` into a database.
./cli.sh migrate --up
## Run
Run the built-in PHP server:
./serv.sh